Fixed a compiling issue introduced by HADOOP-11705.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/31d0e404 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/31d0e404 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/31d0e404 Branch: refs/heads/HDFS-7285 Commit: 31d0e40458e7f98bdd644e4e7ca2c81e1e6e7bd3 Parents: 09a1f7c Author: Kai Zheng <kai.zh...@intel.com> Authored: Fri Mar 13 00:13:06 2015 +0800 Committer: Zhe Zhang <z...@apache.org> Committed: Mon Mar 23 11:13:47 2015 -0700 ---------------------------------------------------------------------- .../apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/31d0e404/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java index 36e061a..d911db9 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java @@ -162,7 +162,7 @@ public abstract class TestErasureCoderBase extends TestCoderBase { } encoder.initialize(numDataUnits, numParityUnits, chunkSize); - encoder.setConf(conf); + ((AbstractErasureCoder)encoder).setConf(conf); return encoder; } @@ -179,7 +179,7 @@ public abstract class TestErasureCoderBase extends TestCoderBase { } decoder.initialize(numDataUnits, numParityUnits, chunkSize); - decoder.setConf(conf); + ((AbstractErasureCoder)decoder).setConf(conf); return decoder; }