You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2008/09/24 15:04:44 UTC

[jira] Commented: (HADOOP-4262) message generated when the client exception has a null message is not useful

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

Steve Loughran commented on HADOOP-4262:
----------------------------------------

fuller stack trace: [sf-startdaemon-debug] Caused by: java.io.IOException: Call to localhost/127.0.0.1:8012 failed on local exception: null
[sf-startdaemon-debug]  at org.apache.hadoop.ipc.Client.call(Client.java:699)
[sf-startdaemon-debug]  at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
[sf-startdaemon-debug]  at org.apache.hadoop.mapred.$Proxy6.getJobProfile(Unknown Source)
[sf-startdaemon-debug]  at org.apache.hadoop.mapred.JobClient$NetworkedJob.<init>(JobClient.java:179)
[sf-startdaemon-debug]  at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:828)
[sf-startdaemon-debug]  at org.smartfrog.services.hadoop.components.submitter.SubmitterImpl.sfStart(SubmitterImpl.java:104)
[sf-startdaemon-debug]  ... 11 more
[sf-startdaemon-debug] Caused by: java.io.EOFException
[sf-startdaemon-debug]  at java.io.DataInputStream.readInt(DataInputStream.java:375)
[sf-startdaemon-debug]  at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:493)
[sf-startdaemon-debug]  at org.apache.hadoop.ipc.Client$Connection.run(Client.java:438)

I propose that if the getMessage() value is null, then instead the classname of the excepetion is picked up instead. So the expected text would be

Caused by: java.io.IOException: Call to localhost/127.0.0.1:8012 failed on local exception: java.io.EOFException



> message generated when the client exception has a null message is not useful
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-4262
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4262
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.19.0, 0.20.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> This was created by HADOOP-3844; if the exception doesn't have a meaningful message, the output isn't that informative :
> java.io.IOException: Call to localhost/127.0.0.1:8012 failed on local exception: null

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.