[
https://issues.apache.org/jira/browse/HDFS-14326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780962#comment-16780962
]
Danny Becker commented on HDFS-14326:
-------------------------------------
[~elgoiri] The difference between getCorruptFilesCount() and
getCorruptReplicatedBlocks() is that the former returns an integer representing
the number of files that are corrupted, while the latter returns a list of
corrupted replicated blocks. The number of corrupted replicated blocks could be
greater than the number of corrupted files because there could be multiple
corrupted blocks in one file. Does this help show the difference between the
two?
I will refactor the two of them to avoid reusing code.
> Add CorruptFilesCount to JMX
> ----------------------------
>
> Key: HDFS-14326
> URL: https://issues.apache.org/jira/browse/HDFS-14326
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: fs, metrics, namenode
> Reporter: Danny Becker
> Assignee: Danny Becker
> Priority: Minor
> Attachments: HDFS-14326.000.patch
>
>
> Add CorruptFilesCount to JMX
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]