[
https://issues.apache.org/jira/browse/MAPREDUCE-4012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244291#comment-13244291
]
Robert Joseph Evans commented on MAPREDUCE-4012:
------------------------------------------------
The patch looks good to me. I agree that exit codes can be helpful, but in the
middle of debugging an issue while looking at logs it is often much simpler to
have the text to look at. It is a very simple change. +1
> Hadoop Job setup error leaves no useful info to users (when
> LinuxTaskController is used)
> ----------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4012
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4012
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.20.205.0, 1.0.0, 2.0.0
> Reporter: Koji Noguchi
> Assignee: Thomas Graves
> Priority: Minor
> Attachments: MAPREDUCE-4012-branch-1.patch, MAPREDUCE-4012.patch,
> mapreduce-4012-1.patch
>
>
> When distributed cache pull fail on the TaskTracker, job webUI only shows
> {noformat}
> Job initialization failed (255)
> {noformat}
> leaving users confused.
> On the TaskTracker log, there is a log with useful info
> {noformat}
> 2012-03-14 21:44:17,083 INFO org.apache.hadoop.mapred.TaskController:
> org.apache.hadoop.security.AccessControlException:
> org.apache.hadoop.security.AccessControlException:
> Permission denied: user=user1, access=READ,
> inode="testfile":user3:users:rw-------
> ...
> 2012-03-14 21:44:17,083 INFO org.apache.hadoop.mapred.TaskController: at
> org.apache.hadoop.filecache.TrackerDistributedCacheManager.downloadCacheObject(TrackerDistributedCacheManager.java:415)
> ...
> 2012-03-14 21:44:17,083 INFO org.apache.hadoop.mapred.TaskController: at
> org.apache.hadoop.mapred.JobLocalizer.main(JobLocalizer.java:530)
> {noformat}
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira