Fixed a compiling issue introduced by HADOOP-11705.
This commit is contained in:
parent
292e367d07
commit
68caf8728e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user