摘要:
1、Partitioner即reduce上进行自定义分区个数 先搜索Partitioner.java。然后在HashPartitioner.java中: public class HashPartitioner<K, V> extends Partitioner<K, V> { public int 阅读全文
摘要:
1、Access.java @Override //为了后续使用方便,定义了一个toString //具体方式:右键-Generate-toString() public String toString() { return phone + "," + up + "," + down + "," + 阅读全文
摘要:
注意:项目转移至新电脑上 1、AccessLocalApp.java package mr.access; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache 阅读全文