Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3DC018194 for ; Thu, 28 May 2015 14:49:08 +0000 (UTC) Received: (qmail 2436 invoked by uid 500); 28 May 2015 14:48:50 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 2302 invoked by uid 500); 28 May 2015 14:48:50 -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 2288 invoked by uid 99); 28 May 2015 14:48:50 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2015 14:48:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 193A9182202 for ; Thu, 28 May 2015 14:48:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YJzMNVnza5ti for ; Thu, 28 May 2015 14:48:48 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id AAD85207C2 for ; Thu, 28 May 2015 14:48:47 +0000 (UTC) Received: by oihb142 with SMTP id b142so33969009oih.3 for ; Thu, 28 May 2015 07:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=q0gqMyWsJ1kzsyiaA3toN3uzr512p5HiiEG8YKajzWA=; b=u2PagDIg4ij8JKW6Ks7K3kXAZGGwujpP5lTt+0pkSgahMM2fHmfiP5e6OGCi0FF5Wq S8+/b6PX8ilQGGXOeaqj4mf7VpJP4JvRaF4igBllRsRw1Y07i+1meU0kHa52PRkwZCi8 3QkK7W/5A7wsWJNijsE7R6nFO6uArz57GEt3QV7hBLxFzxQvH1BaR5vfvvYrZeffZ+kS jIoRMC7nA59yAPjuk8r2ud/UGq/CmFr92lqcju9k6PrUdZW6YoD5wXH0H2+ZCYJvEFY7 0GcwpB7cfeFDM7YAT9rj5YvQBENAjIBk9Uc/xtsmUH1oD8R9n81qTNjf+/cki9mZ5x+y wGCw== MIME-Version: 1.0 X-Received: by 10.60.80.229 with SMTP id u5mr2823223oex.27.1432824526417; Thu, 28 May 2015 07:48:46 -0700 (PDT) Received: by 10.202.177.2 with HTTP; Thu, 28 May 2015 07:48:46 -0700 (PDT) In-Reply-To: <55671B59.8090601@gmail.com> References: <55671B59.8090601@gmail.com> Date: Thu, 28 May 2015 07:48:46 -0700 Message-ID: Subject: Re: can't submit a job From: Ted Yu To: "common-user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e013cbcc6ec349d051725745e --089e013cbcc6ec349d051725745e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Have you checked the link http://192.168.56.101:9046/proxy/application_1432817967879_0003 ? You should get come clue from logs of the 2 attempts. On Thu, May 28, 2015 at 6:42 AM, xeonmailinglist-gmail < xeonmailinglist@gmail.com> wrote: > Hi, > > I am trying to launch a job that I have configured in in java, but I get > an error related to the containers [1]. I don=E2=80=99t understand why I = can=E2=80=99t > submit the a job. Why get this error? What can I do to fix it? > > Thanks, > > [1] Log of logs/yarn-xubuntu-nodemanager-hadoop-coc-1.log > > 15/05/28 09:28:21 INFO client.RMProxy: Connecting to ResourceManager at /= 192.168.56.101:8032 > 15/05/28 09:28:24 INFO input.FileInputFormat: Total input paths to proces= s : 5 > 15/05/28 09:28:24 INFO mapreduce.JobSubmitter: number of splits:5 > 15/05/28 09:28:24 INFO mapreduce.JobSubmitter: Submitting tokens for job:= job_1432817967879_0003 > 15/05/28 09:28:25 INFO impl.YarnClientImpl: Submitted application applica= tion_1432817967879_0003 > 15/05/28 09:28:25 INFO mapreduce.Job: The url to track the job: http://19= 2.168.56.101:9046/proxy/application_1432817967879_0003/ > 15/05/28 09:28:25 INFO mapreduce.Job: Running job: job_1432817967879_0003 > 15/05/28 09:28:29 INFO mapreduce.Job: Job job_1432817967879_0003 running = in uber mode : false > 15/05/28 09:28:29 INFO mapreduce.Job: map 0% reduce 0% > 15/05/28 09:28:29 INFO mapreduce.Job: Job job_1432817967879_0003 failed w= ith state FAILED due to: Application application_1432817967879_0003 failed = 2 times due to AM Cont > ainer for appattempt_1432817967879_0003_000002 exited with exitCode: 1 > For more detailed output, check application tracking page:http://192.168.= 56.101:9046/proxy/application_1432817967879_0003/Then, click on links to lo= gs of each attempt. > Diagnostics: Exception from container-launch. > Container id: container_1432817967879_0003_02_000001 > Exit code: 1 > Stack trace: ExitCodeException exitCode=3D1: > at org.apache.hadoop.util.Shell.runCommand(Shell.java:538) > at org.apache.hadoop.util.Shell.run(Shell.java:455) > at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shel= l.java:715) > at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExec= utor.launchContainer(DefaultContainerExecutor.java:211) > at org.apache.hadoop.yarn.server.nodemanager.containermanager.lau= ncher.ContainerLaunch.call(ContainerLaunch.java:302) > at org.apache.hadoop.yarn.server.nodemanager.containermanager.lau= ncher.ContainerLaunch.call(ContainerLaunch.java:82) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > =E2=80=8B > > -- > -- > > --089e013cbcc6ec349d051725745e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Have you checked the link=C2=A0http://192.= 168.56.101:9046/proxy/application_1432817967879_0003=C2=A0?

You should get come clue from logs of the 2 attempts.

On Thu, May 28, 201= 5 at 6:42 AM, xeonmailinglist-gmail <xeonmailinglist@gmail.com= > wrote:
=20 =20 =20

Hi,

I am trying to launch a job that I have configured in in java, but I get an error related to the containers [1]. I don=E2=80=99t understand why I can= =E2=80=99t submit the a job. Why get this error? What can I do to fix it?

Thanks,

[1] Log of l= ogs/yarn-xubuntu-nodemanager-hadoop-coc-1.log

15/05/28 09:2=
8:21 INFO client.RMProxy: Connecting to ResourceManager at /192.168.56.101:8032
15/05/28 09:28:24 INFO input.FileInputFormat: Total input paths to process =
: 5
15/05/28 09:28:24 INFO mapreduce.JobSubmitter: number of splits:5
15/05/28 09:28:24 INFO mapreduce.JobSubmitter: Submitting tokens for job: j=
ob_1432817967879_0003
15/05/28 09:28:25 INFO impl.YarnClientImpl: Submitted application applicati=
on_1432817967879_0003
15/05/28 09:28:25 INFO mapreduce.Job: The url to track the job: http://192.168.56.101:9046/proxy/application_1432817967879_0003/
15/05/28 09:28:25 INFO mapreduce.Job: Running job: job_1432817967879_0003
15/05/28 09:28:29 INFO mapreduce.Job: Job job_1432817967879_0003 running in=
 uber mode : false
15/05/28 09:28:29 INFO mapreduce.Job:  map 0% reduce 0%
15/05/28 09:28:29 INFO mapreduce.Job: Job job_1432817967879_0003 failed wit=
h state FAILED due to: Application application_1432817967879_0003 failed 2 =
times due to AM Cont
ainer for appattempt_1432817967879_0003_000002 exited with  exitCode: 1
For more detailed output, check application tracking page:http://192.168.56.101:9046/proxy/application_1432817967879_0003/Then=
, click on links to logs of each attempt.
Diagnostics: Exception from container-launch.
Container id: container_1432817967879_0003_02_000001
Exit code: 1
Stack trace: ExitCodeException exitCode=3D1:=20
        at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
        at org.apache.hadoop.util.Shell.run(Shell.java:455)
        at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.=
java:715)
        at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecut=
or.launchContainer(DefaultContainerExecutor.java:211)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launc=
her.ContainerLaunch.call(ContainerLaunch.java:302)
        at org.apache.hadoop.yarn.server.nodemanager.containermanager.launc=
her.ContainerLaunch.call(ContainerLaunch.java:82)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec=
utor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe=
cutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
=E2=80=8B
--=20
--

--089e013cbcc6ec349d051725745e--