hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Becker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14326) Add CorruptFilesCount to JMX
Date Thu, 28 Feb 2019 22:02:00 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message