hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10094) NPE in GenericOptionsParser#preProcessForWindows()
Date Thu, 14 Nov 2013 00:29:21 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HADOOP-10094:
-----------------------------------

          Component/s: util
     Target Version/s: 3.0.0, 1-win, 2.2.1
    Affects Version/s: 1-win
                       3.0.0
                       2.2.0
        Fix Version/s:     (was: 2.2.1)
                           (was: 2.3.0)
                           (was: 1-win)
                           (was: 3.0.0)
         Hadoop Flags: Reviewed

+1 for the patch, pending Jenkins test-patch run.  I verified the fix on both trunk and branch-1-win.
 Thanks for adding the test, Enis.

> 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