hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7602) wordcount, sort etc on har files fails with NPE
Date Tue, 13 Sep 2011 20:23:09 GMT

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

Jitendra Nath Pandey commented on HADOOP-7602:
----------------------------------------------

> -1 buildDTAuthority absolutely cannot return an empty string in any other context w/o
wrecking havoc on token processing.
  John's patch is returning empty string only for cases where it would otherwise throw an
NPE. Empty string is being thrown only if authority is not a valid host, in that case it will
not cause any problem because no connection or tokens would work for such hosts anyway.

I look at this jira solving an immediate problem that NPEs are being thrown if authority is
invalid or hosts are not resolved. 
  There may be alternative approaches to handle the bad inputs to SecurityUtil methods in
more elegant ways, but that can be taken outside this jira.

> 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.2.patch, hadoop-7602.3.patch, hadoop-7602.4.patch,
hadoop-7602.6.patch, hadoop-7602.daryns_comment.2.patch, hadoop-7602.daryns_comment.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

        

Mime
View raw message