Windows Linux system connected to the Hadoop file system, for there is no question of powers
Solution: There are two
1, inside the main method of the program, the top row is added
System.setProperty("HADOOP_USE_NAEM","user");
2, FileSystem create objects in the file system, indicating that the user
FileSystem fileSystem = FileSystem.get(URI.create("hdfs://hadoop01:9000/") ,conf,"hadoop01");