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

OfflineImageViewer throws an NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.23.3
    • Fix Version/s: 0.23.3
    • Component/s: None
    • Labels:
      None

      Description

      Courtesy Mithun Radhakrishnan
      Exception in thread "main" java.lang.NullPointerException
      at org.apache.hadoop.security.authentication.util.KerberosName.getShortName(KerberosName.java:371)
      at org.apache.hadoop.security.User.<init>(User.java:48)
      at org.apache.hadoop.security.User.<init>(User.java:43)
      at org.apache.hadoop.security.UserGroupInformation.createRemoteUser(UserGroupInformation.java:857)
      at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenIdentifier.getUser(AbstractDelegationTokenIdentifier.java:91)
      at org.apache.hadoop.hdfs.security.token.delegation.DelegationTokenIdentifier.toString(DelegationTokenIdentifier.java:61)
      at org.apache.hadoop.hdfs.tools.offlineImageViewer.ImageLoaderCurrent.processDelegationTokens(ImageLoaderCurrent.java:222)
      at org.apache.hadoop.hdfs.tools.offlineImageViewer.ImageLoaderCurrent.loadImage(ImageLoaderCurrent.java:185)
      at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.go(OfflineImageViewer.java:129)
      at org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewer.main(OfflineImageViewer.java:250)

        Attachments

        1. HDFS-3558.branch-23.patch
          7 kB
          Ravi Prakash

          Activity

            People

            • Assignee:
              raviprak Ravi Prakash
              Reporter:
              raviprak Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: