hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Bouras (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13774) Rest Loaded App fails
Date Mon, 31 Oct 2016 21:07:58 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-13774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Omar Bouras updated HADOOP-13774:
---------------------------------
    Attachment: WordCount.java
                app.json

> 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
>             Fix For: 2.7.3
>
>         Attachments: 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


Mime
View raw message