hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-6021) NullPointerException when running LoadTestTool without specifying compression type
Date Wed, 16 May 2012 18:45:07 GMT
Andrew Purtell created HBASE-6021:
-------------------------------------

             Summary: 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


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

        

Mime
View raw message