You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by pr...@nokia.com on 2011/05/24 00:44:25 UTC

Printing the job status on the client side

Hello all,
How do I print the job status of each job on the client with the % complete. I am invoking the hadoop jobs using the java client (not hadoop cli) and I am not seeinf the map and reduce job status on the command line. Is there a property that I can set in the Configuration?

Praveen

RE: Printing the job status on the client side

Posted by Aaron Baff <Aa...@telescope.tv>.
You need to use the RunningJob (old API) or Job (new API) object, and use those to get the Mapper & Reducer statuses. They return it as a double, 0.0 to 1.0.

--Aaron
________________________________________
From: praveen.peddi@nokia.com [mailto:praveen.peddi@nokia.com]
Sent: Monday, May 23, 2011 3:44 PM
To: mapreduce-user@hadoop.apache.org
Subject: Printing the job status on the client side

Hello all,
How do I print the job status of each job on the client with the % complete. I am invoking the hadoop jobs using the java client (not hadoop cli) and I am not seeinf the map and reduce job status on the command line. Is there a property that I can set in the Configuration?

Praveen