HADOOP-11782 Correct two thrown messages in ECSchema class. Contributed by Xinwei Qin
This commit is contained in:
parent
9edc73d123
commit
98ea3ec0da
@ -29,3 +29,6 @@
|
|||||||
|
|
||||||
HADOOP-11647. Reed-Solomon ErasureCoder. Contributed by Kai Zheng
|
HADOOP-11647. Reed-Solomon ErasureCoder. Contributed by Kai Zheng
|
||||||
( Kai Zheng )
|
( Kai Zheng )
|
||||||
|
|
||||||
|
HADOOP-11782 Correct two thrown messages in ECSchema class. Contributed by Xinwei Qin
|
||||||
|
( Xinwei Qin via Kai Zheng )
|
||||||
|
@ -64,7 +64,7 @@ public ECSchema(String schemaName, Map<String, String> options) {
|
|||||||
}
|
}
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
throw new IllegalArgumentException("Option value " +
|
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");
|
" is found. It should be an integer");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ public ECSchema(String schemaName, Map<String, String> options) {
|
|||||||
}
|
}
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
throw new IllegalArgumentException("Option value " +
|
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");
|
" is found. It should be an integer");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user