1.下载hadoop-common-2.2.0-bin并解压到某个目录
https://github.com/srccodes/hadoop-common-2.2.0-bin
2.设置hadoop.home.dir
System.setProperty("hadoop.home.dir", "D:\hadoop-common-2.2.0-bin-master")
1.下载hadoop-common-2.2.0-bin并解压到某个目录
https://github.com/srccodes/hadoop-common-2.2.0-bin
2.设置hadoop.home.dir
System.setProperty("hadoop.home.dir", "D:\hadoop-common-2.2.0-bin-master")