[ 
https://issues.apache.org/jira/browse/HBASE-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277252#comment-13277252
 ] 

Andrew Purtell commented on HBASE-6021:
---------------------------------------

Will commit this soon if no objections.
                
> NullPointerException when running LoadTestTool without specifying compression 
> type
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-6021
>                 URL: https://issues.apache.org/jira/browse/HBASE-6021
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.96.0, 0.94.1
>         Environment: Hadoop 1.0.2, HBase 0.94.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 6021.patch
>
>
> If you don't specify a compression type on the LoadTestTool command line then 
> this happens:
> {noformat}
> 12/05/16 18:41:23 ERROR util.AbstractHBaseTool: Error running command-line 
> tool
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.hbase.HColumnDescriptor.setCompressionType(HColumnDescriptor.java:535)
>       at 
> org.apache.hadoop.hbase.HBaseTestingUtility.createPreSplitLoadTestTable(HBaseTestingUtility.java:1885)
>       at 
> org.apache.hadoop.hbase.util.LoadTestTool.doWork(LoadTestTool.java:297)
>       at 
> org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:103)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>       at 
> org.apache.hadoop.hbase.util.AbstractHBaseTool.doStaticMain(AbstractHBaseTool.java:173)
>       at org.apache.hadoop.hbase.util.LoadTestTool.main(LoadTestTool.java:341)
> {noformat}
> This should be handled better.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to