hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Shankar <ashwinshanka...@gmail.com>
Subject Job fails if I change HADOOP_USER_NAME
Date Fri, 21 Mar 2014 08:32:05 GMT
Hi,
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:
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)

-- 
Thanks,
Ashwin

Mime
View raw message