[ https://issues.apache.org/jira/browse/MAPREDUCE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082871#comment-13082871
]
Abhijit Suresh Shingate commented on MAPREDUCE-111:
---------------------------------------------------
Hi Amreshwari,
>From my understanding, the while loop and try catch block takes care that the FileSystem
must be initialised properly and then only JobTracker should proceed with other tasks.
Do you see any scenario where the org.apache.hadoop.mapred.JobTracker.getSystemDir() is called
even before the fs is set?
Thanks & Regards,
Abhijit
> 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
|