hadoop-mapreduce-issues mailing list archives

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

    [ 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

        

Mime
View raw message