hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohith Sharma K S <rohithsharm...@huawei.com>
Subject RE: Job fails if I change HADOOP_USER_NAME
Date Fri, 21 Mar 2014 10:05:42 GMT

The below stack trace is generic for any am launcher failed to launch. Can debug on AM container
logs, so get proper stacktrace.?

Thanks & Regards
Rohith Sharma K S

From: Ashwin Shankar [mailto:ashwinshankar77@gmail.com]
Sent: 21 March 2014 14:02
To: user@hadoop.apache.org
Subject: Job fails if I change HADOOP_USER_NAME

I'm writing a new feature in Fair scheduler and wanted to test it out
by running jobs submitted by different users from my laptop.

My sleep job runs fine as long as the user name is my mac user name.
If I change my hadoop user name by setting HADOOP_USER_NAME,
my jobs fail with the exception org.apache.hadoop.util.Shell$ExitCodeException.
I also tried creating a new user account on my laptop and running a job as that user but I
get the same exception.

Please let me know if any of you have come across this.
I tried changing ulimits max proc(to 1024),but doesn't solve the problem.

Here is the stack trace :

Job job_1395389889916_0001 failed with state FAILED due to: Application application_1395389889916_0001
failed 3 times due to AM Container for appattempt_1395389889916_0001_000003 exited with  exitCode:
1 due to: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException:
            at org.apache.hadoop.util.Shell.runCommand(Shell.java:505)
            at org.apache.hadoop.util.Shell.run(Shell.java:418)
            at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:650)
            at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)


View raw message