Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55318200BF3 for ; Thu, 5 Jan 2017 22:08:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 53B98160B26; Thu, 5 Jan 2017 21:08:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9F181160B33 for ; Thu, 5 Jan 2017 22:07:59 +0100 (CET) Received: (qmail 42098 invoked by uid 500); 5 Jan 2017 21:07:58 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 42046 invoked by uid 99); 5 Jan 2017 21:07:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2017 21:07:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 927012C1F54 for ; Thu, 5 Jan 2017 21:07:58 +0000 (UTC) Date: Thu, 5 Jan 2017 21:07:58 +0000 (UTC) From: "Junping Du (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13774) Rest Loaded App fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 05 Jan 2017 21:08:00 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated HADOOP-13774: -------------------------------- Fix Version/s: (was: 2.7.3) > Rest Loaded App fails > --------------------- > > Key: HADOOP-13774 > URL: https://issues.apache.org/jira/browse/HADOOP-13774 > Project: Hadoop Common > Issue Type: Bug > Environment: Hadoop Map Reduce REST > Reporter: Omar Bouras > Priority: Minor > Attachments: Error_message.png, Failed_app_exec.png, WordCount.java, app.json > > > Hello, > I am launching an app within a MR REST. This app executes well within Hadoop normal invocation. However, when I use the rest > {code} > curl -i -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' http://localhost:8088/ws/v1/cluster/apps?user.name=exo -d @app.json > {code} > 6/10/31 21:42:13 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032 > 16/10/31 21:42:14 INFO input.FileInputFormat: Total input paths to process : 4 > 16/10/31 21:42:14 INFO mapreduce.JobSubmitter: number of splits:4 > 16/10/31 21:42:14 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1477946173138_0003 > 16/10/31 21:42:14 INFO mapreduce.JobSubmitter: Kind: YARN_AM_RM_TOKEN, Service: , Ident: (appAttemptId { application_id { id: 3 cluster_timestamp: 1477946173138 } attemptId: 1 } keyId: -678745738) > 16/10/31 21:42:15 INFO impl.YarnClientImpl: Submitted application application_1477946173138_0003 > 16/10/31 21:42:15 INFO mapreduce.Job: The url to track the job: http://MEA-029-L:8088/proxy/application_1477946173138_0003/ > 16/10/31 21:42:15 INFO mapreduce.Job: Running job: job_1477946173138_0003 > 16/10/31 21:52:53 INFO mapreduce.Job: Job job_1477946173138_0003 running in uber mode : false > 16/10/31 21:52:53 INFO mapreduce.Job: map 0% reduce 0% > 16/10/31 21:52:53 INFO mapreduce.Job: Job job_1477946173138_0003 failed with state FAILED due to: Application application_1477946173138_0003 failed 1 times due to ApplicationMaster for attempt appattempt_1477946173138_0003_000001 timed out. Failing the application. > 16/10/31 21:52:53 INFO mapreduce.Job: Counters: 0 > {code} > The main job always ends fail with timeout. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org