Fixed a compiling issue introduced by HADOOP-11705.

This commit is contained in:
Kai Zheng 2015-03-13 00:13:06 +08:00 committed by Zhe Zhang
parent 292e367d07
commit 68caf8728e

View File

@ -162,7 +162,7 @@ private ErasureEncoder createEncoder() {
}
encoder.initialize(numDataUnits, numParityUnits, chunkSize);
encoder.setConf(conf);
((AbstractErasureCoder)encoder).setConf(conf);
return encoder;
}
@ -179,7 +179,7 @@ private ErasureDecoder createDecoder() {
}
decoder.initialize(numDataUnits, numParityUnits, chunkSize);
decoder.setConf(conf);
((AbstractErasureCoder)decoder).setConf(conf);
return decoder;
}