[ https://issues.apache.org/jira/browse/HBASE-17357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Navarro updated HBASE-17357: ---------------------------------- Status: Patch Available (was: Open) > PerformanceEvaluation parameters parsing triggers NPE. > ------------------------------------------------------ > > Key: HBASE-17357 > URL: https://issues.apache.org/jira/browse/HBASE-17357 > Project: HBase > Issue Type: Bug > Components: Performance, test > Affects Versions: 1.2.4 > Reporter: Jean-Marc Spaggiari > Assignee: David Navarro > Priority: Minor > Labels: beginner > Attachments: HBASE-17357.patch > > > 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)