[
https://issues.apache.org/jira/browse/HDFS-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464827#comment-13464827
]
Daryn Sharp commented on HDFS-3873:
-----------------------------------
I think it was being double logged, so it should be getting logged at a higher
level... I'm not sure why you aren't seeing the cause because the applicable
line is {{throw new IOException("Unable to obtain remote token", e)}}. It's
rather disconcerting that a NPE is being thrown?
> Hftp assumes security is disabled if token fetch fails
> ------------------------------------------------------
>
> Key: HDFS-3873
> URL: https://issues.apache.org/jira/browse/HDFS-3873
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs client
> Affects Versions: 0.23.3, 3.0.0, 2.0.2-alpha
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Fix For: 0.23.3, 2.0.2-alpha
>
> Attachments: HDFS-3873.branch-23.patch, HDFS-3873.patch
>
>
> Hftp ignores all exceptions generated while trying to get a token, based on
> the assumption that it means security is disabled. Debugging problems is
> excruciatingly difficult when security is enabled but something goes wrong.
> Job submissions succeed, but tasks fail because the NN rejects the user as
> unauthenticated.
--
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