Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12086

Swift driver reports NPE if user try to create a dir without name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: fs/swift
    • Labels:
      None

      Description

      hadoop fs -mkdir swift://container.Provider/
      -mkdir: Fatal internal error
      java.lang.NullPointerException
      at org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem.makeAbsolute(SwiftNativeFileSystem.java:691)
      at org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem.getFileStatus(SwiftNativeFileSystem.java:197)
      at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1400)
      at org.apache.hadoop.fs.shell.Mkdir.processNonexistentPath(Mkdir.java:73)
      at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:262)
      at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:244)
      at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:190)
      at org.apache.hadoop.fs.shell.Command.run(Command.java:154)
      at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)

        Attachments

          Activity

            People

            • Assignee:
              airbots Chen He
              Reporter:
              airbots Chen He
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: