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 "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/04/05 23:52:32 UTC

[jira] Created: (HADOOP-1213) When RPC call fails then log call message detail

When RPC call fails then log call message detail
------------------------------------------------

                 Key: HADOOP-1213
                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
             Project: Hadoop
          Issue Type: Improvement
          Components: ipc
    Affects Versions: 0.12.2
            Reporter: Nigel Daley
            Priority: Minor
             Fix For: 0.13.0


When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.

    [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
    [junit] java.nio.channels.ClosedChannelException
    [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
    [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
    [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
    [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
    [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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


[jira] Commented: (HADOOP-1213) When RPC call fails then log call message detail

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488195 ] 

Hadoop QA commented on HADOOP-1213:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12355357/HADOOP-1213.patch applied and successfully tested against trunk revision r527632.

Results are at http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/28/console

> When RPC call fails then log call message detail
> ------------------------------------------------
>
>                 Key: HADOOP-1213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.12.2
>            Reporter: Nigel Daley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1213.patch
>
>
> When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.
>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
>     [junit] java.nio.channels.ClosedChannelException
>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
>     [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
>     [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>     [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>     [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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


[jira] Commented: (HADOOP-1213) When RPC call fails then log call message detail

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488335 ] 

Hadoop QA commented on HADOOP-1213:
-----------------------------------

Integrated in Hadoop-Nightly #55 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/55/)

> When RPC call fails then log call message detail
> ------------------------------------------------
>
>                 Key: HADOOP-1213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.12.2
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1213.patch
>
>
> When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.
>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
>     [junit] java.nio.channels.ClosedChannelException
>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
>     [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
>     [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>     [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>     [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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


[jira] Updated: (HADOOP-1213) When RPC call fails then log call message detail

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1213:
---------------------------------

    Resolution: Fixed
      Assignee: Doug Cutting
        Status: Resolved  (was: Patch Available)

I just committed this.

> When RPC call fails then log call message detail
> ------------------------------------------------
>
>                 Key: HADOOP-1213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.12.2
>            Reporter: Nigel Daley
>         Assigned To: Doug Cutting
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1213.patch
>
>
> When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.
>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
>     [junit] java.nio.channels.ClosedChannelException
>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
>     [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
>     [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>     [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>     [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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


Re: [jira] Updated: (HADOOP-1213) When RPC call fails then log call message detail

Posted by Nigel Daley <nd...@yahoo-inc.com>.
+1

On Apr 11, 2007, at 11:02 AM, Doug Cutting (JIRA) wrote:

>
>      [ https://issues.apache.org/jira/browse/HADOOP-1213? 
> page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Doug Cutting updated HADOOP-1213:
> ---------------------------------
>
>     Attachment: HADOOP-1213.patch
>
> Here's a patch that cleans up the messages logged by the IPC  
> server's handler thread, so that both the handler's name and the  
> call are consistently logged for this and other errors.
>
>> When RPC call fails then log call message detail
>> ------------------------------------------------
>>
>>                 Key: HADOOP-1213
>>                 URL: https://issues.apache.org/jira/browse/ 
>> HADOOP-1213
>>             Project: Hadoop
>>          Issue Type: Improvement
>>          Components: ipc
>>    Affects Versions: 0.12.2
>>            Reporter: Nigel Daley
>>            Priority: Minor
>>             Fix For: 0.13.0
>>
>>         Attachments: HADOOP-1213.patch
>>
>>
>> When an RPC call fails, it would be helpful to have more  
>> information about the call.  Currently, this is all I get.
>>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server  
>> (Server.java:run(594)) - handler output error
>>     [junit] java.nio.channels.ClosedChannelException
>>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen 
>> (SocketChannelImpl.java:125)
>>     [junit] 	at sun.nio.ch.SocketChannelImpl.write 
>> (SocketChannelImpl.java:294)
>>     [junit] 	at  
>> org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer 
>> (SocketChannelOutputStream.java:108)
>>     [junit] 	at  
>> org.apache.hadoop.ipc.SocketChannelOutputStream.write 
>> (SocketChannelOutputStream.java:89)
>>     [junit] 	at java.io.BufferedOutputStream.flushBuffer 
>> (BufferedOutputStream.java:65)
>>     [junit] 	at java.io.BufferedOutputStream.flush 
>> (BufferedOutputStream.java:123)
>>     [junit] 	at java.io.DataOutputStream.flush 
>> (DataOutputStream.java:106)
>>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run 
>> (Server.java:592)
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>


[jira] Updated: (HADOOP-1213) When RPC call fails then log call message detail

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1213:
---------------------------------

    Attachment: HADOOP-1213.patch

Here's a patch that cleans up the messages logged by the IPC server's handler thread, so that both the handler's name and the call are consistently logged for this and other errors.

> When RPC call fails then log call message detail
> ------------------------------------------------
>
>                 Key: HADOOP-1213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.12.2
>            Reporter: Nigel Daley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1213.patch
>
>
> When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.
>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
>     [junit] java.nio.channels.ClosedChannelException
>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
>     [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
>     [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>     [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>     [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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


[jira] Updated: (HADOOP-1213) When RPC call fails then log call message detail

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1213:
---------------------------------

    Status: Patch Available  (was: Open)

Nigel reviewed this and gave it a +1.

> When RPC call fails then log call message detail
> ------------------------------------------------
>
>                 Key: HADOOP-1213
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1213
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.12.2
>            Reporter: Nigel Daley
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: HADOOP-1213.patch
>
>
> When an RPC call fails, it would be helpful to have more information about the call.  Currently, this is all I get.
>     [junit] 2007-04-05 06:19:19,518 WARN  ipc.Server (Server.java:run(594)) - handler output error
>     [junit] java.nio.channels.ClosedChannelException
>     [junit] 	at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:125)
>     [junit] 	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.flushBuffer(SocketChannelOutputStream.java:108)
>     [junit] 	at org.apache.hadoop.ipc.SocketChannelOutputStream.write(SocketChannelOutputStream.java:89)
>     [junit] 	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>     [junit] 	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>     [junit] 	at java.io.DataOutputStream.flush(DataOutputStream.java:106)
>     [junit] 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:592)

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