code: public BlockMetaDataInfo getBlockMetaDataInfo(int namespaceId, Block block
        ) throws IOException {
      if (LOG.isDebugEnabled()) {
        LOG.debug("block=" + block);
      }
  
      Block stored = data.getStoredBlock(namespaceId, block.getBlockId());
  
      if (stored == null) {
        return null;
      }
      BlockMetaDataInfo info = new BlockMetaDataInfo(stored,
                                   blockScanner.getLastScanTime(namespaceId, stored));
      if (LOG.isDebugEnabled()) {
        LOG.debug("getBlockMetaDataInfo successful block=" + stored +
                  " length " + stored.getNumBytes() +
                  " genstamp " + stored.getGenerationStamp());
      }
  
      // paranoia! verify that the contents of the stored block
      // matches the block file on disk.
      
      data.validateBlockMetadata(namespaceId, stored);
      return info;
    }
docs: {@inheritDoc}