[ https://issues.apache.org/jira/browse/HDFS-13048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka updated HDFS-13048: --------------------------------- Target Version/s: 3.1.0, 3.0.1 Status: Patch Available (was: Open) The calculation itself is okay, however, blockStat is not actually decremented correctly. Attached a 001 patch to fix it. > LowRedundancyReplicatedBlocks metric can be negative > ---------------------------------------------------- > > Key: HDFS-13048 > URL: https://issues.apache.org/jira/browse/HDFS-13048 > Project: Hadoop HDFS > Issue Type: Bug > Components: metrics > Affects Versions: 3.0.0 > Reporter: Akira Ajisaka > Assignee: Akira Ajisaka > Priority: Major > Attachments: HDFS-13048-sample.patch, HDFS-13048.001.patch > > > I'm seeing {{LowRedundancyReplicatedBlocks}} become negative. This should be > 0 or positive. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org