hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5927) Corrupted blocks value is not updating in jmx(FSNamesystemMBean)
Date Tue, 11 Feb 2014 13:01:22 GMT
Brahma Reddy Battula created HDFS-5927:
------------------------------------------

             Summary: Corrupted blocks value is not updating in jmx(FSNamesystemMBean)
                 Key: HDFS-5927
                 URL: https://issues.apache.org/jira/browse/HDFS-5927
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 2.2.0
            Reporter: Brahma Reddy Battula
            Assignee: Brahma Reddy Battula


Steps - 

1)- Write data to HDFS.

2)- Corrupt some blocks.

3)- Check whether Corrupted blocks count is updating in jmx


Observed output - JMX is showing always count zero while 27 Corrupted blocks are there.



/** Returns number of blocks with corrupt replicas */
  @Metric({"CorruptBlocks", "Number of blocks with corrupt replicas"})
  public long getCorruptReplicaBlocks() {
    return blockManager.getCorruptReplicaBlocksCount();
  }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message