[ https://issues.apache.org/jira/browse/MAPREDUCE-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873575#action_12873575 ]
Hemanth Yamijala commented on MAPREDUCE-1778: --------------------------------------------- bq. For #2, I think maybe we can try and create a dummy temp file. Is there a better way than this? Did not find any helper api in FileSystem. If you had the FileStatus for the directory, you could use FsPermission to check this, no ? But if you don't have it, you'd need an additional RPC for the same. > CompletedJobStatusStore initialization should fail if > {mapred.job.tracker.persist.jobstatus.dir} is unwritable > -------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-1778 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1778 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: jobtracker > Reporter: Amar Kamat > Assignee: Amar Kamat > Attachments: mapred-1778-1.patch, mapred-1778.patch > > > If {mapred.job.tracker.persist.jobstatus.dir} points to an unwritable > location or mkdir of {mapred.job.tracker.persist.jobstatus.dir} fails, then > CompletedJobStatusStore silently ignores the failure and disables > CompletedJobStatusStore. Ideally the JobTracker should bail out early > indicating a misconfiguration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.