[
https://issues.apache.org/jira/browse/HDFS-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485697#comment-13485697
]
Tsz Wo (Nicholas), SZE commented on HDFS-4122:
----------------------------------------------
- Remove getBlockId() below.
{code}
//DFSInputStream
+ " for " + blk.getBlockId());
{code}
- Combine two strings below.
{code}
//BlockReceiver
+ throw new IOException("Unexpected checksum mismatch " + "while writing "
{code}
- Remove toString() below.
{code}
//BlockManager
+ + b + " " + datanodes.toString());
{code}
> Cleanup HDFS logs and reduce the size of logged messages
> --------------------------------------------------------
>
> Key: HDFS-4122
> URL: https://issues.apache.org/jira/browse/HDFS-4122
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 1.0.0, 2.0.0-alpha
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: log.chatty.cleanup.branch1.patch,
> log.chatty.cleanup.trunk.patch, log.chatty.cleanup.trunk.patch
>
>
> I have attached the patch that removes unnecessary information from the log
> such as "Namesystem." and prefixing file information with "file" and block
> information with "block" etc.
> On a branch-1 log I saw it reduce the log size by ~10%.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira