Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66BFA10385 for ; Fri, 21 Mar 2014 10:06:28 +0000 (UTC) Received: (qmail 72538 invoked by uid 500); 21 Mar 2014 10:06:19 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 71804 invoked by uid 500); 21 Mar 2014 10:06:18 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 71789 invoked by uid 99); 21 Mar 2014 10:06:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 10:06:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohithsharmaks@huawei.com designates 119.145.14.64 as permitted sender) Received: from [119.145.14.64] (HELO szxga01-in.huawei.com) (119.145.14.64) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2014 10:06:10 +0000 Received: from 172.24.2.119 (EHLO szxeml205-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BSY01954; Fri, 21 Mar 2014 18:05:47 +0800 (CST) Received: from SZXEML453-HUB.china.huawei.com (10.82.67.196) by szxeml205-edg.china.huawei.com (172.24.2.58) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 21 Mar 2014 18:05:42 +0800 Received: from SZXEML512-MBS.china.huawei.com ([169.254.8.221]) by SZXEML453-HUB.china.huawei.com ([10.82.67.196]) with mapi id 14.03.0158.001; Fri, 21 Mar 2014 18:05:43 +0800 From: Rohith Sharma K S To: "user@hadoop.apache.org" Subject: RE: Job fails if I change HADOOP_USER_NAME Thread-Topic: Job fails if I change HADOOP_USER_NAME Thread-Index: AQHPROAiff2qiDLLVEyTYtuC1jW+lZrrQbtg Date: Fri, 21 Mar 2014 10:05:42 +0000 Message-ID: <0EE80F6F7A98A64EBD18F2BE839C911567536926@szxeml512-mbs.china.huawei.com> References: In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.18.168.138] Content-Type: multipart/alternative; boundary="_000_0EE80F6F7A98A64EBD18F2BE839C911567536926szxeml512mbschi_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org --_000_0EE80F6F7A98A64EBD18F2BE839C911567536926szxeml512mbschi_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi 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 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$ExitCodeExcept= ion. 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 app= lication_1395389889916_0001 failed 3 times due to AM Container for appattem= pt_1395389889916_0001_000003 exited with exitCode: 1 due to: Exception fro= m 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(Sh= ell.java:650) at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerEx= ecutor.launchContainer(DefaultContainerExecutor.java:195) -- Thanks, Ashwin --_000_0EE80F6F7A98A64EBD18F2BE839C911567536926szxeml512mbschi_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 <= /p>

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

 <= /p>

 <= /p>

Thanks & Regards=

Rohith Sharma K S

 <= /p>

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

 

Hi,

I'm writing a new feature in Fair scheduler and want= ed 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 m= y mac user name.

If I change my hadoop user name by setting HADOOP_US= ER_NAME,

my jobs fail with the exception org.apache.hadoop= .util.Shell$ExitCodeException.

I also tried creating a new user account on my lapto= p and running a job as that user but I get the same exception.

 

Please let me know if any of you have come across th= is.

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  exitC= ode: 1 due to: Exception from container-launch: org.apache.hadoop.util.Shell$ExitCodeException:

org.apache.hadoop.util.Shell$ExitCodeException:=

        &nbs= p;   at org.apache.hadoop.util.Shell.runCommand(Shell.java:505)

        &nbs= p;   at org.apache.hadoop.util.Shell.run(Shell.java:418)

        &nbs= p;   at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute= (Shell.java:650)

        &nbs= p;   at org.apache.hadoop.yarn.server.nodemanager.DefaultContaine= rExecutor.launchContainer(DefaultContainerExecutor.java:195)

 

--

Thanks,
Ashwin

--_000_0EE80F6F7A98A64EBD18F2BE839C911567536926szxeml512mbschi_--