2021年9月17日(hdfs)

今天通过javaapi来操作hdfs

遇到的问题:java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset

解决方案:https://github.com/steveloughran/winutils 下载就近版本的,然后添加进系统变量和path

原文地址:https://www.cnblogs.com/sakura-xxg/p/15306263.html