摘要:
public int getPartition(K key, V value, int numReduceTasks) { return (key.hashCode() & Integer.MAX_VALUE) % numReduceTasks; } java String 的hashCode: 阅读全文
posted @ 2019-06-26 20:47
不忘初衷,方能致远
阅读(513)
评论(0)
推荐(0)