[
https://issues.apache.org/jira/browse/HDFS-14008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662593#comment-16662593
]
Wei-Chiu Chuang commented on HDFS-14008:
----------------------------------------
Looks good. We applied this patch in a production cluster for over a year.
Would you please address the checkstyle warning?
> NN should log snapshotdiff report
> ---------------------------------
>
> Key: HDFS-14008
> URL: https://issues.apache.org/jira/browse/HDFS-14008
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 3.0.0, 3.1.1, 3.0.3
> Reporter: Pranay Singh
> Assignee: Pranay Singh
> Priority: Major
> Attachments: HDFS-14008.001.patch
>
>
> It will be helpful to log message for snapshotdiff to correlate snapshotdiff
> operation against memory spikes in NN heap. It will be good to log the below
> details at the end of snapshot diff operation, this will help us to know the
> time spent in the snapshotdiff operation and to know the number of
> files/directories processed and compared.
> a) Total dirs processed
> b) Total dirs compared
> c) Total files processed
> d) Total files compared
> e) Total children listing time
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]