hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17357) PerformanceEvaluation parameters parsing triggers NPE.
Date Wed, 21 Dec 2016 21:40:58 GMT
Jean-Marc Spaggiari created HBASE-17357:
-------------------------------------------

             Summary: PerformanceEvaluation parameters parsing triggers NPE.
                 Key: HBASE-17357
                 URL: https://issues.apache.org/jira/browse/HBASE-17357
             Project: HBase
          Issue Type: Bug
    Affects Versions: 1.2.4
            Reporter: Jean-Marc Spaggiari
            Priority: Minor


When using wrong parameters, PE triggers an NPE. Should not

{code}
@hbasetest1:~# hbase pe --nomapred
16/12/21 16:38:50 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead,
use io.native.lib.available
java.lang.NullPointerException
	at java.util.TreeMap.getEntry(TreeMap.java:342)
	at java.util.TreeMap.get(TreeMap.java:273)
	at org.apache.hadoop.hbase.PerformanceEvaluation.determineCommandClass(PerformanceEvaluation.java:2145)
	at org.apache.hadoop.hbase.PerformanceEvaluation.run(PerformanceEvaluation.java:2127)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
	at org.apache.hadoop.hbase.PerformanceEvaluation.main(PerformanceEvaluation.java:2150)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message