Hadoop 3.1.2报错:xception in thread

报错内容如下:

Exception in thread “main” org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme “hdfs”
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3332)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3352)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3371)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:477)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226)

原因在于依赖的jar包的问题,需要把/home/hadoop/share/hadoop/hdfs/ 下面这些包全部引入

Hadoop 3.1.2报错:xception in thread

只有爱才能经得起漫长的岁月。

[En]

Only love can withstand the long years.

Original: https://blog.51cto.com/u_15724848/5497941
Author: 芊芊KIRA
Title: Hadoop 3.1.2报错:xception in thread

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/508541/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球