Hey Telles,

The easiest way to do this is to use the RM's REST interface to find your
app's application id:

http://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/ResourceM
anagerRest.html


You can use:

http://eat1-app807.corp:8088/ws/v1/cluster/apps


To list all apps. This will show:

<apps>
<app>
<id>application_1407359299394_0065</id>
<user>samza-user</user>
<name>job-name_1</name>
...


I also believe that the run-job.sh script should print out the application
ID when using the YarnJobRunner.

Cheers,
Chris

On 8/12/14 7:56 AM, "Telles Nobrega" <[email protected]> wrote:

>Hi,
>
>I need to run an application and get the application id after running it,
>is there a way to do it?
>
>-- 
>------------------------------------------
>Telles Mota Vidal Nobrega
>M.sc. Candidate at UFCG
>B.sc. in Computer Science at UFCG
>Software Engineer at OpenStack Project - HP/LSD-UFCG

Reply via email to