You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Subroto Sanyal (JIRA)" <ji...@apache.org> on 2011/08/10 11:29:27 UTC

[jira] [Commented] (MAPREDUCE-111) JobTracker.getSystemDir throws NPE if it is called during intialization

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

Subroto Sanyal commented on MAPREDUCE-111:
------------------------------------------

Hi Amreshwari,

This issue seems to be invalid to me as, the constructor of JobTracker will make sure that the FileSystem is initialized i.e. the constructor takes the full responsibility of initializing the FileSystem.

The initialization is in an infinite loop which will make sure FileSystem is not null.

> 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