List of usage examples for org.apache.hadoop.hdfs.protocol ClientProtocol GET_STATS_MISSING_BLOCKS_IDX
int GET_STATS_MISSING_BLOCKS_IDX
To view the source code for org.apache.hadoop.hdfs.protocol ClientProtocol GET_STATS_MISSING_BLOCKS_IDX.
Click Source Link
From source file:com.mellanox.r4h.DFSClient.java
License:Apache License
/** * Returns count of blocks with no good replicas left. Normally should be * zero./*from w w w.ja v a 2 s . c o m*/ * * @throws IOException */ public long getMissingBlocksCount() throws IOException { return callGetStats()[ClientProtocol.GET_STATS_MISSING_BLOCKS_IDX]; }