HDFS-12580. Rebasing HDFS-10467 after HDFS-12447. Contributed by Inigo Goiri.

(cherry picked from commit b12440d3479f19138bc66ea59baf41eb89061906)
This commit is contained in:
Inigo Goiri 2017-10-02 18:45:06 -07:00
parent ad41c81559
commit 6c69e23dcd

View File

@ -64,7 +64,7 @@
import org.apache.hadoop.hdfs.DFSConfigKeys;
import org.apache.hadoop.hdfs.DFSUtil;
import org.apache.hadoop.hdfs.inotify.EventBatchList;
import org.apache.hadoop.hdfs.protocol.AddECPolicyResponse;
import org.apache.hadoop.hdfs.protocol.AddErasureCodingPolicyResponse;
import org.apache.hadoop.hdfs.protocol.BlockStoragePolicy;
import org.apache.hadoop.hdfs.protocol.CacheDirectiveEntry;
import org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo;
@ -1857,8 +1857,8 @@ public BlockStoragePolicy getStoragePolicy(String path) throws IOException {
}
@Override
public AddECPolicyResponse[] addErasureCodingPolicies(
ErasureCodingPolicy[] arg0) throws IOException {
public AddErasureCodingPolicyResponse[] addErasureCodingPolicies(
ErasureCodingPolicy[] policies) throws IOException {
checkOperation(OperationCategory.WRITE, false);
return null;
}