Arun,

Inline.

On Sat, Dec 3, 2011 at 8:45 AM, arun k <arunk...@gmail.com> wrote:
<snip>
>> I have given the sysout statements in Worcount.java, MapTask.java and
>> LocalJobRunner.java.
>    I have done
>   - {HADOOP_HOME}$ ant build
>   - started daemons
>   - ran the Example
>  but i don't see them on console output. I tried to find in logs but i
> couldn't find them. Where exactly can is see them ?

The stdout is written to $HADOOP_HOME/logs/*.out files for respective
daemons. In your case, I think it should be printed when you run the
LocalJobRunner in the frontend itself, which brings me to: Am
confused, you mentioned running daemons after building 0.20, but why
then run a LocalJobRunner? Also, how exactly are you starting your
daemons from your ant-built HADOOP_HOME directory - just as regular?

>> When the M/R job finishes is see that counters display Bytes read and
>> written. Are these related a particular map task of the job or total bytes
>> for both map and reduce task ?
>    How do i get how many bytes were read and written by map and reduce
> task separately ?

There are specific byte counters for each phase available, if you look
at the reported counters carefully ('Map input bytes', 'Map output
bytes' and such). Also, each successful task carries its own digest of
counters, if you want it granular.

-- 
Harsh J

Reply via email to