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.initialize(numDataUnits, numParityUnits, chunkSize);
|
||||||
encoder.setConf(conf);
|
((AbstractErasureCoder)encoder).setConf(conf);
|
||||||
return encoder;
|
return encoder;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ private ErasureDecoder createDecoder() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
decoder.initialize(numDataUnits, numParityUnits, chunkSize);
|
decoder.initialize(numDataUnits, numParityUnits, chunkSize);
|
||||||
decoder.setConf(conf);
|
((AbstractErasureCoder)decoder).setConf(conf);
|
||||||
return decoder;
|
return decoder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user