hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Navarro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17357) PerformanceEvaluation parameters parsing triggers NPE.
Date Fri, 20 Jan 2017 20:01:26 GMT

    [ https://issues.apache.org/jira/browse/HBASE-17357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832329#comment-15832329
] 

David Navarro commented on HBASE-17357:
---------------------------------------

[~stack]  
Fixed space, after if
errCode is non-null per https://github.com/apache/hbase/blob/master/hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java#L2203
yes tried patch.  Thanks.

> 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-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)

Mime
View raw message