[ https://issues.apache.org/jira/browse/HBASE-17357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834723#comment-15834723 ]
Sean Busbey commented on HBASE-17357: ------------------------------------- I'd like to pull this back to branch-1.2. Any objections with it going in branch-1.3 [~mantonov]? > 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: Dave Navarro > Priority: Minor > Labels: beginner > Fix For: 2.0.0, 1.4.0 > > Attachments: HBASE-17357-1.patch, 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)