From 7d795989e150eec1531155c1f9cfdb3b31fc3168 Mon Sep 17 00:00:00 2001 From: Inigo Goiri Date: Mon, 2 Oct 2017 18:45:06 -0700 Subject: [PATCH] HDFS-12580. Rebasing HDFS-10467 after HDFS-12447. Contributed by Inigo Goiri. (cherry picked from commit b12440d3479f19138bc66ea59baf41eb89061906) (cherry picked from commit 6c69e23dcdf1cdbddd47bacdf2dace5c9f06e3ad) --- .../hdfs/server/federation/router/RouterRpcServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java index 1fa17206600..650c6ab0a37 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java @@ -64,7 +64,7 @@ import org.apache.hadoop.hdfs.AddBlockFlag; 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 class RouterRpcServer extends AbstractService implements ClientProtocol { } @Override - public AddECPolicyResponse[] addErasureCodingPolicies( - ErasureCodingPolicy[] arg0) throws IOException { + public AddErasureCodingPolicyResponse[] addErasureCodingPolicies( + ErasureCodingPolicy[] policies) throws IOException { checkOperation(OperationCategory.WRITE, false); return null; }