HADOOP-11782 Correct two thrown messages in ECSchema class. Contributed by Xinwei Qin

This commit is contained in:
Kai Zheng 2015-04-02 05:12:35 +08:00 committed by Zhe Zhang
parent 9edc73d123
commit 98ea3ec0da
2 changed files with 5 additions and 2 deletions

View File

@ -29,3 +29,6 @@
HADOOP-11647. Reed-Solomon ErasureCoder. Contributed by Kai Zheng
( Kai Zheng )
HADOOP-11782 Correct two thrown messages in ECSchema class. Contributed by Xinwei Qin
( Xinwei Qin via Kai Zheng )

View File

@ -64,7 +64,7 @@ public ECSchema(String schemaName, Map<String, String> options) {
}
} catch (NumberFormatException e) {
throw new IllegalArgumentException("Option value " +
options.get(CHUNK_SIZE_KEY) + " for " + CHUNK_SIZE_KEY +
options.get(NUM_DATA_UNITS_KEY) + " for " + NUM_DATA_UNITS_KEY +
" is found. It should be an integer");
}
@ -74,7 +74,7 @@ public ECSchema(String schemaName, Map<String, String> options) {
}
} catch (NumberFormatException e) {
throw new IllegalArgumentException("Option value " +
options.get(CHUNK_SIZE_KEY) + " for " + CHUNK_SIZE_KEY +
options.get(NUM_PARITY_UNITS_KEY) + " for " + NUM_PARITY_UNITS_KEY +
" is found. It should be an integer");
}