view logs for a hadoop jar execution

Developer from somewhere

Assuming you started a jar with

1
hadoop jar your_jar some_args
, you might see something similar to this, when the job starts:

16/04/24 07:33:01 INFO mapreduce.Job: The url to track the job: http://quickstart.cloudera:8088/proxy/application_1461491409387_0019/

Once the job finishes, a way to view your logs is by issuing this command:

yarn logs -applicationId 1461491409387_0019

I found this helpful for viewing log statements that I added in the jar.