Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3041

Failed to init hadoop hdfs using init-hdfs.sh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: hadoop
    • Labels:
      None

      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

            Activity

              People

              • Assignee:
                jun.he Jun He
                Reporter:
                jun.he Jun He
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: