hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10094) NPE in GenericOptionsParser#preProcessForWindows()
Date Thu, 14 Nov 2013 01:33:20 GMT

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

Hadoop QA commented on HADOOP-10094:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12613720/hadoop-10094_v2.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-common-project/hadoop-common:

                  org.apache.hadoop.metrics2.impl.TestMetricsSystemImpl

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/3284//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/3284//console

This message is automatically generated.

> NPE in GenericOptionsParser#preProcessForWindows()
> --------------------------------------------------
>
>                 Key: HADOOP-10094
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10094
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 3.0.0, 1-win, 2.2.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>            Priority: Trivial
>         Attachments: hadoop-10094-branch-1-win_v2.patch, hadoop-10094_v2.patch, hbase-10094_v1.patch
>
>
> main() in java guarantees that args is not null, but on some uses of Tool interface from
java, people seem to pass around null as args, causing a NPE in GenericOptionsParser. 
> Although, passing null is not recommended, we can do a trivial fix. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message