hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9908) Fix NPE when versioninfo properties file is missing
Date Tue, 27 Aug 2013 23:43:52 GMT

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

Suresh Srinivas commented on HADOOP-9908:
-----------------------------------------

+1 for the patch.
                
> Fix NPE when versioninfo properties file is missing
> ---------------------------------------------------
>
>                 Key: HADOOP-9908
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9908
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-9908.txt
>
>
> When running tests in Eclipse I ran into an NPE in VersionInfo since the version info
properties file didn't properly make it to the classpath. This is because getResourceAsStream
can return null if the file is not found.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message