1、创建工程、配置
参照文章使用idea使用远程虚拟机中的hadoop集群进行wordcount练习
练习代码:
package com.dtinone.hadooptest1.hsfsgetput;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
public class HDFS_GET_PUT {
public static void main(String[] args) throws Exception {
//创建配置
Configuration co