You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "gabrywu (Jira)" <ji...@apache.org> on 2020/11/03 08:47:00 UTC

[jira] [Updated] (YARN-10481) return application id when submitting job

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

gabrywu updated YARN-10481:
---------------------------
    Labels: easy-fix features  (was: )

> return application id when submitting job
> -----------------------------------------
>
>                 Key: YARN-10481
>                 URL: https://issues.apache.org/jira/browse/YARN-10481
>             Project: Hadoop YARN
>          Issue Type: Wish
>          Components: yarn
>    Affects Versions: 3.2.1
>            Reporter: gabrywu
>            Priority: Minor
>              Labels: easy-fix, features
>
> Hello team, 
> Submitting jobs through yarn jar is a general task, however, we have to parse the current application id or tracking URL of the submitted job from the INFO logs, such as 
> 20/11/03 00:39:13 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2
> 20/11/03 00:39:13 INFO input.FileInputFormat: Total input paths to process : 16
> 20/11/03 00:39:13 INFO mapreduce.JobSubmitter: number of splits:16
> 20/11/03 00:39:13 INFO mapreduce.JobSubmitter:{color:#FF0000} Submitting tokens for job: job_1601247375834_530832{color}
> 20/11/03 00:39:14 INFO impl.YarnClientImpl: Submitted application application_1601247375834_530832
> 20/11/03 00:39:14 INFO mapreduce.Job: {color:#FF0000}The url to track the job: https://xxxxxxxx:50030/proxy/application_1601247375834_530832/{color}
> 20/11/03 00:39:14 INFO mapreduce.Job: {color:#FF0000}Running job: job_1601247375834_530832{color}
> 20/11/03 00:39:26 INFO mapreduce.Job: Job job_1601247375834_530832 running in uber mode : false
> 20/11/03 00:39:26 INFO mapreduce.Job: map 0% reduce 0%
> 20/11/03 00:39:34 INFO mapreduce.Job: map 13% reduce 0%
> 20/11/03 00:39:35 INFO mapreduce.Job: map 50% reduce 0%
> 20/11/03 00:39:36 INFO mapreduce.Job: map 63% reduce 0%
> 20/11/03 00:39:37 INFO mapreduce.Job: map 88% reduce 0%
> 20/11/03 00:39:38 INFO mapreduce.Job: map 100% reduce 0%
> 20/11/03 00:39:47 INFO mapreduce.Job: map 100% reduce 100%
>  
> So my question is that, is there a convenient way to retrieve the application for the submitted job?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org