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

Operating on / in ChecksumFileSystem throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0, 3.4.2
    • None
    • Reviewed

    Description

      Operating on / on ChecksumFileSystem throws NPE

      java.lang.NullPointerException
      	at org.apache.hadoop.fs.Path.<init>(Path.java:151)
      	at org.apache.hadoop.fs.Path.<init>(Path.java:130)
      	at org.apache.hadoop.fs.ChecksumFileSystem.getChecksumFile(ChecksumFileSystem.java:121)
      	at org.apache.hadoop.fs.ChecksumFileSystem$FsOperation.run(ChecksumFileSystem.java:774)
      	at org.apache.hadoop.fs.ChecksumFileSystem.setReplication(ChecksumFileSystem.java:884)
      

      Internally I observed it for SetPermission but on my Mac LocalFs doesn't let me setPermission on "/", so I reproduced it via SetReplication which goes through the same code path

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: