hbase-issues mailing list archives

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

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

stack commented on HBASE-17357:
-------------------------------

[~dnavarro] You want to be consistent w/ your spacing. The if has no space before the bracket
but it does before the curly. See the rest of the code in the class and follow its model.

Is the errCode non-null? Did you try your patch? Thanks [~dnavarro]

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

Mime
View raw message