Daryn Sharp created HDFS-4490:
---------------------------------

             Summary: Confusing WebHDFS exception when user has no TGT
                 Key: HDFS-4490
                 URL: https://issues.apache.org/jira/browse/HDFS-4490
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: webhdfs
    Affects Versions: 0.23.0
            Reporter: Daryn Sharp


{noformat}
$ hadoop fs -ls webhdfs://host/
-ls: Fatal internal error
java.lang.NullPointerException
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:279)
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:431)
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:725)
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.initDelegationToken(WebHdfsFileSystem.java:184)
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.initialize(WebHdfsFileSystem.java:173)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2160)
        [...]
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to