List of usage examples for org.apache.hadoop.hdfs.protocol ClientProtocol GET_STATS_UNDER_REPLICATED_IDX
int GET_STATS_UNDER_REPLICATED_IDX
To view the source code for org.apache.hadoop.hdfs.protocol ClientProtocol GET_STATS_UNDER_REPLICATED_IDX.
Click Source Link
From source file:com.mellanox.r4h.DFSClient.java
License:Apache License
/** * Returns count of blocks with one of more replica missing. * //from w w w . j a va 2 s . c o m * @throws IOException */ public long getUnderReplicatedBlocksCount() throws IOException { return callGetStats()[ClientProtocol.GET_STATS_UNDER_REPLICATED_IDX]; }