You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2012/10/12 07:39:21 UTC

[jira] [Closed] (HBASE-6021) NullPointerException when running LoadTestTool without specifying compression type

     [ https://issues.apache.org/jira/browse/HBASE-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl closed HBASE-6021.
--------------------------------

    
> 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.94.1, 0.96.0
>         Environment: Hadoop 1.0.2, HBase 0.94.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.92.2, 0.94.1, 0.96.0
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira