[ http://issues.apache.org/jira/browse/HADOOP-592?page=all ]

Owen O'Malley updated HADOOP-592:
---------------------------------

    Attachment: connection-null-ptr.patch

This patch grabs the inet address when the connection is formed so that we 
don't get a null pointer exception when trying to print it out after the 
connection is closed.

> NullPointerException in toString for RPC connection objects
> -----------------------------------------------------------
>
>                 Key: HADOOP-592
>                 URL: http://issues.apache.org/jira/browse/HADOOP-592
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>            Priority: Minor
>             Fix For: 0.7.1
>
>         Attachments: connection-null-ptr.patch
>
>
> If the socket is closed when the log message is generated, the toString 
> method gets a NullPointerException.
> The exception is caught and logged, but happens often enough that 
> administrators will worry about it. It also loses useful debugging 
> information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to