Description
Failed to initialize hdfs using init-hdfs.sh script with 2.8.1.
The error log is as:
--------------------------------------------------------------------------------------------
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: Caught: java.io.IOException: No FileSystem for scheme: hdfs
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: java.io.IOException: No FileSystem for scheme: hdfs
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2798)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2809)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:100)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2848)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2830)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:389)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:181)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at org.apache.hadoop.fs.FileSystem$get.call(Unknown Source)
Notice: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: at init-hcfs.run(init-hcfs.groovy:138)
Error: bash -x /usr/lib/hadoop/libexec/init-hdfs.sh returned 1 instead of one of [0]
Error: /Stage[main]/Hadoop::Init_hdfs/Exec[init hdfs]/returns: change from notrun to 0 failed: bash -x /usr/lib/hadoop/libexec/init-hdfs.sh returned 1 instead of one of [0]
Attachments
Issue Links
- links to