hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-111) JobTracker.getSystemDir throws NPE if it is called during intialization
Date Wed, 10 Aug 2011 10:34:27 GMT

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

Amareshwari Sriramadasu commented on MAPREDUCE-111:
---------------------------------------------------

NPE occurs only during initialization. The issue says we should throw IllegalStateException
instead of NPE, in such case.

> JobTracker.getSystemDir throws NPE if it is called during intialization
> -----------------------------------------------------------------------
>
>                 Key: MAPREDUCE-111
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-111
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Amareshwari Sriramadasu
>
> JobTracker.getSystemDir throws NPE if it is called during intialization.
> It should check if fileSystem is null and throw IllegalStateException, as in getFilesystemName
method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message