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

Abhijit Suresh Shingate commented on MAPREDUCE-111:
---------------------------------------------------

As a Good Public API practice, we can make it throw IllegalStateException in 
case the fs is not initialised.

> 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

        

Reply via email to