[ 
https://issues.apache.org/jira/browse/HADOOP-7602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095654#comment-13095654
 ] 

Daryn Sharp commented on HADOOP-7602:
-------------------------------------

The method {{build(D)elegation(T)okenServiceAuthority}} is specifically meant 
for use by tokens.  The client uses {{buildDTServiceAuthority}} to set the 
service in a token.  The service is what the RPC layer matches against to find 
a token for new connections.

If {{buildDTServiceAuthority}} ever returns an empty string, then the token is 
rendered useless.  The logs will show that a token was acquired, but 
connections will mysteriously fail because an empty string doesn't match the 
address of the connection.

The 1-line fix for the real problem is equally as minimal as reintroducing a 
bug to mask another bug.

> wordcount, sort etc on har files fails with NPE
> -----------------------------------------------
>
>                 Key: HADOOP-7602
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7602
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.20.206.0
>            Reporter: John George
>            Assignee: John George
>             Fix For: 0.20.205.0
>
>         Attachments: hadoop-7602.1.patch, hadoop-7602.patch
>
>
> wordcount, sort etc on har files fails with 
> NPE@createSocketAddr(NetUtils.java:137). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to