[ 
https://issues.apache.org/jira/browse/HDFS-7579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles Lamb updated HDFS-7579:
-------------------------------
    Attachment: HDFS-7579.000.patch

The attached patch modifies BPServiceActor so that even if one or more of the 
block report rpcs fails, a LOG.info message will still be displayed. This will 
help diagnose cases where the RPC throws an exception. This patch also adds a 
toString() to ServerCommand so that the LOG.info message displays something 
reasonable for the commands that it received back rather than just 
Object.toString().


> Improve log reporting during block report rpc failure
> -----------------------------------------------------
>
>                 Key: HDFS-7579
>                 URL: https://issues.apache.org/jira/browse/HDFS-7579
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.7.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>            Priority: Minor
>         Attachments: HDFS-7579.000.patch
>
>
> During block reporting, if the block report RPC fails, for example because it 
> exceeded the max rpc len, we should still produce some sort of LOG.info 
> output to help with debugging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to