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

NPE in FSDirectory.unprotectedSetPermission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.16.1
    • 0.16.2
    • None
    • None

    Description

      Not sure if this is fixed in later release, but I'm seeing many NPE in the namenode log.
      Permission is disabled on this cluster.

       
      2008-03-27 03:22:39,984 INFO org.apache.hadoop.ipc.Server: IPC Server handler 18 on 8020, 
      call setPermission(/user/knoguchi/file0, rwxr-xr-x) from 99.9.99.9:55555: 
      error: java.io.IOException: java.lang.NullPointerException
      java.io.IOException: java.lang.NullPointerException
              at org.apache.hadoop.dfs.FSDirectory.unprotectedSetPermission(FSDirectory.java:411)
              at org.apache.hadoop.dfs.FSDirectory.setPermission(FSDirectory.java:405)
              at org.apache.hadoop.dfs.FSNamesystem.setPermission(FSNamesystem.java:716)
              at org.apache.hadoop.dfs.NameNode.setPermission(NameNode.java:297)
              at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:409)
              at org.apache.hadoop.ipc.Server$Handler.run(Server.java:899)
      

      Attachments

        1. 3108_20080327.patch
          3 kB
          Tsz-wo Sze
        2. 3108-0.16.2.patch
          4 kB
          Konstantin Shvachko
        3. 3108-0.16.2.patch
          2 kB
          Konstantin Shvachko
        4. 3108-0.16.2.patch
          1 kB
          Konstantin Shvachko
        5. getNodeNPE.patch
          23 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              knoguchi Koji Noguchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: