|
@@ -66,7 +66,6 @@ import org.apache.hadoop.hdfs.DFSUtil;
|
|
import org.apache.hadoop.hdfs.inotify.EventBatchList;
|
|
import org.apache.hadoop.hdfs.inotify.EventBatchList;
|
|
import org.apache.hadoop.hdfs.protocol.AddECPolicyResponse;
|
|
import org.apache.hadoop.hdfs.protocol.AddECPolicyResponse;
|
|
import org.apache.hadoop.hdfs.protocol.BlockStoragePolicy;
|
|
import org.apache.hadoop.hdfs.protocol.BlockStoragePolicy;
|
|
-import org.apache.hadoop.hdfs.protocol.BlocksStats;
|
|
|
|
import org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry;
|
|
import org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry;
|
|
import org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo;
|
|
import org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo;
|
|
import org.apache.hadoop.hdfs.protocol.CachePoolEntry;
|
|
import org.apache.hadoop.hdfs.protocol.CachePoolEntry;
|
|
@@ -76,7 +75,7 @@ import org.apache.hadoop.hdfs.protocol.CorruptFileBlocks;
|
|
import org.apache.hadoop.hdfs.protocol.DatanodeID;
|
|
import org.apache.hadoop.hdfs.protocol.DatanodeID;
|
|
import org.apache.hadoop.hdfs.protocol.DatanodeInfo;
|
|
import org.apache.hadoop.hdfs.protocol.DatanodeInfo;
|
|
import org.apache.hadoop.hdfs.protocol.DirectoryListing;
|
|
import org.apache.hadoop.hdfs.protocol.DirectoryListing;
|
|
-import org.apache.hadoop.hdfs.protocol.ECBlockGroupsStats;
|
|
|
|
|
|
+import org.apache.hadoop.hdfs.protocol.ECBlockGroupStats;
|
|
import org.apache.hadoop.hdfs.protocol.EncryptionZone;
|
|
import org.apache.hadoop.hdfs.protocol.EncryptionZone;
|
|
import org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy;
|
|
import org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy;
|
|
import org.apache.hadoop.hdfs.protocol.ExtendedBlock;
|
|
import org.apache.hadoop.hdfs.protocol.ExtendedBlock;
|
|
@@ -89,6 +88,7 @@ import org.apache.hadoop.hdfs.protocol.LastBlockWithStatus;
|
|
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
|
|
import org.apache.hadoop.hdfs.protocol.LocatedBlock;
|
|
import org.apache.hadoop.hdfs.protocol.LocatedBlocks;
|
|
import org.apache.hadoop.hdfs.protocol.LocatedBlocks;
|
|
import org.apache.hadoop.hdfs.protocol.OpenFileEntry;
|
|
import org.apache.hadoop.hdfs.protocol.OpenFileEntry;
|
|
|
|
+import org.apache.hadoop.hdfs.protocol.ReplicatedBlockStats;
|
|
import org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo;
|
|
import org.apache.hadoop.hdfs.protocol.RollingUpgradeInfo;
|
|
import org.apache.hadoop.hdfs.protocol.SnapshotDiffReport;
|
|
import org.apache.hadoop.hdfs.protocol.SnapshotDiffReport;
|
|
import org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus;
|
|
import org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus;
|
|
@@ -1879,19 +1879,19 @@ public class RouterRpcServer extends AbstractService implements ClientProtocol {
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public ECBlockGroupsStats getECBlockGroupsStats() throws IOException {
|
|
|
|
|
|
+ public ECBlockGroupStats getECBlockGroupStats() throws IOException {
|
|
checkOperation(OperationCategory.READ, false);
|
|
checkOperation(OperationCategory.READ, false);
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public HashMap<String, String> getErasureCodingCodecs() throws IOException {
|
|
|
|
|
|
+ public Map<String, String> getErasureCodingCodecs() throws IOException {
|
|
checkOperation(OperationCategory.READ, false);
|
|
checkOperation(OperationCategory.READ, false);
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public BlocksStats getBlocksStats() throws IOException {
|
|
|
|
|
|
+ public ReplicatedBlockStats getReplicatedBlockStats() throws IOException {
|
|
checkOperation(OperationCategory.READ, false);
|
|
checkOperation(OperationCategory.READ, false);
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|