Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13661

Ls command with e option fails when the filesystem is not HDFS

    XMLWordPrintableJSON

Details

    Description

      $ hadoop fs -ls -e file://
      Found 10 items
      -ls: Fatal internal error
      java.lang.NullPointerException
      	at org.apache.hadoop.fs.shell.Ls.adjustColumnWidths(Ls.java:308)
      	at org.apache.hadoop.fs.shell.Ls.processPaths(Ls.java:242)
      	at org.apache.hadoop.fs.shell.Command.recursePath(Command.java:387)
      	at org.apache.hadoop.fs.shell.Ls.processPathArgument(Ls.java:226)
      	at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:285)
      	at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:269)
      	at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:120)
      	at org.apache.hadoop.fs.shell.Command.run(Command.java:176)
      	at org.apache.hadoop.fs.FsShell.run(FsShell.java:328)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
      	at org.apache.hadoop.fs.FsShell.main(FsShell.java:391)
      

      Attachments

        1. HDFS-13661.1.patch
          6 kB
          Takanobu Asanuma
        2. HDFS-13661.2.patch
          9 kB
          Takanobu Asanuma
        3. HDFS-13661.3.patch
          9 kB
          Takanobu Asanuma
        4. HDFS-13661.4.patch
          12 kB
          Takanobu Asanuma

        Issue Links

          Activity

            People

              tasanuma Takanobu Asanuma
              tasanuma Takanobu Asanuma
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: