You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/10/09 03:22:42 UTC

[jira] [Commented] (AMBARI-3485) Cannot submit job after customizing hadoop group and enabling security

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

Sumit Mohanty commented on AMBARI-3485:
---------------------------------------

LGTM, +1

> Cannot submit job after customizing hadoop group and enabling security 
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-3485
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3485
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.1
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3485.patch
>
>
> Cannot submit job after enabling security.
> Stacktrace:
> {code}
> Error initializing attempt_201310081803_0011_m_000002_0:
> java.io.IOException: Job initialization failed (22) with output: Reading task controller config from /etc/hadoop/conf.empty/taskcontroller.cfg
> The configured tasktracker group 496 is different from the group of the executable 502
> Invalid permissions on task-controller binary.
> 	at org.apache.hadoop.mapred.LinuxTaskController.initializeJob(LinuxTaskController.java:193)
> 	at org.apache.hadoop.mapred.TaskTracker$4.run(TaskTracker.java:1340)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
> 	at org.apache.hadoop.mapred.TaskTracker.initializeJob(TaskTracker.java:1315)
> 	at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:1230)
> 	at org.apache.hadoop.mapred.TaskTracker$5.run(TaskTracker.java:2641)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.hadoop.util.Shell$ExitCodeException: 
> 	at org.apache.hadoop.util.Shell.runCommand(Shell.java:255)
> 	at org.apache.hadoop.util.Shell.run(Shell.java:182)
> 	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:375)
> 	at org.apache.hadoop.mapred.LinuxTaskController.initializeJob(LinuxTaskController.java:186)
> 	... 8 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)