HBASE-6021. NullPointerException when running LoadTestTool without specifying compression type
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a7083731c8
commit
512b75643f
|
@ -280,7 +280,7 @@ public class LoadTestTool extends AbstractHBaseTool {
|
|||
}
|
||||
|
||||
String compressStr = cmd.getOptionValue(OPT_COMPRESSION);
|
||||
compressAlgo = compressStr == null ? null :
|
||||
compressAlgo = compressStr == null ? Compression.Algorithm.NONE :
|
||||
Compression.Algorithm.valueOf(compressStr);
|
||||
|
||||
String bloomStr = cmd.getOptionValue(OPT_BLOOM);
|
||||
|
|
Loading…
Reference in New Issue