hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7602) wordcount, sort etc on har files fails with NPE
Date Thu, 01 Sep 2011 20:06:10 GMT

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

John George commented on HADOOP-7602:
-------------------------------------

> Having {{buildDTServiceName}} return an empty string to satisfy bad behavior 
> in the {{TokenCache}} doesn't feel right.  I'd prefer an exception like {{new 
> IllegalArgumentException( uri + "does not have a server-based authority)}} to 
> guard against accidental invocation in the future.
> 
I am not knowledgeable enough to decide either way, but the reason that the above change were
made in buildDTServiceName() is because it was doing something very similar before the changes
in MR-2780. If the need to check is soon going to go away, would it be better to continue
what it did before MR-2780?


> 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.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

        

Mime
View raw message