Class org.apache.hadoop.hdfs.DistributedFileSystem not found

用最新版本的Hadoop遇到的坑! 原文转载自:原文链接 由hadoop2.7.1切换到hadoop3.1.1之后,加载jar包不全导致编译出现问题 原因是:Class org.apache.hadoop.hdfs.DistributedFileSystem由原本的hadoop-hdfs.2.7.1.jar中迁移到了hadoop-hdfs-client-3.1.1.jar   解决方法:加载had
相关文章
相关标签/搜索