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:
Andrew Kyle Purtell 2012-05-17 22:54:56 +00:00
parent a7083731c8
commit 512b75643f
1 changed files with 1 additions and 1 deletions

View File

@ -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);