Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # dev >> what is different between CorruptBlocks and MissingBlocks in NN FSNamesystem metrics?


Copy link to this message
-
Re: what is different between CorruptBlocks and MissingBlocks in NN FSNamesystem metrics?
Missing blocks are the blocks with no valid replicas. I.e. data is not available. Corrupt blocks are the ones with at least one corrupt replica. They may have healthy live replicas that are not corrupt, which can be read by users or replicated by the system to replace the corrupt replicas.  "Missing blocks" is a subset of "Corrupt blocks".

Kihwal 

On Monday, November 18, 2013 3:07 AM, ch huang <[EMAIL PROTECTED]> wrote:
 
hi,all:

          CorruptBlocks  is "Number of blocks with corrupt replicas" ,but
the MissingBlocks is also from
this.neededReplications.getCorruptBlockSize() ,any difference?