You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Felix Halim <fe...@gmail.com> on 2010/08/01 01:18:56 UTC

Wrong type in log history - Hadoop 0.21.0 (candidate 0)

The log file produced in:

hadoop.job.history.location

Has a wrong type for "REDUCE_ATTEMPT_STARTED" (it is currently wrongly
printed as "MAP_ATTEMPT_STARTED").


This is one line of the log file produced:


{"type":"MAP_ATTEMPT_STARTED","event":{"TaskAttemptStarted":{"taskid":"task_201008010534_0001_r_000066","taskType":"REDUCE","attemptId":"attempt_201008010534_0001_r_000066_0","startTime":1280612215265,"trackerName":"tracker_compg3.cl.comp.nus.edu.sg:localhost.localdomain/127.0.0.1:37813","httpPort":38330}}},


Here, the type should be "REDUCE_ATTEMPT_STARTED", right? because the
"event.taskType" is "REDUCE".


Felix Halim

Re: Wrong type in log history - Hadoop 0.21.0 (candidate 0)

Posted by Tom White <to...@cloudera.com>.
I just committed MAPREDUCE-1876 to branch 0.21. The fix for
MAPREDUCE-1980 can go into branch 0.21 when it's done.

Cheers,
Tom

On Sun, Aug 1, 2010 at 8:52 PM, Amareshwari Sri Ramadasu
<am...@yahoo-inc.com> wrote:
> The problem is reported and fixed in MAPREDUCE-1876, but it is not committed to branch 0.21.
> I think both MAPREDUCE-1876 and MAPREDUCE-1980 should be committed to branch 0.21.
>
> -Amareshwari
>
> On 8/1/10 4:48 AM, "Felix Halim" <fe...@gmail.com> wrote:
>
> The log file produced in:
>
> hadoop.job.history.location
>
> Has a wrong type for "REDUCE_ATTEMPT_STARTED" (it is currently wrongly
> printed as "MAP_ATTEMPT_STARTED").
>
>
> This is one line of the log file produced:
>
>
> {"type":"MAP_ATTEMPT_STARTED","event":{"TaskAttemptStarted":{"taskid":"task_201008010534_0001_r_000066","taskType":"REDUCE","attemptId":"attempt_201008010534_0001_r_000066_0","startTime":1280612215265,"trackerName":"tracker_compg3.cl.comp.nus.edu.sg:localhost.localdomain/127.0.0.1:37813","httpPort":38330}}},
>
>
> Here, the type should be "REDUCE_ATTEMPT_STARTED", right? because the
> "event.taskType" is "REDUCE".
>
>
> Felix Halim
>
>

Re: Wrong type in log history - Hadoop 0.21.0 (candidate 0)

Posted by Amareshwari Sri Ramadasu <am...@yahoo-inc.com>.
The problem is reported and fixed in MAPREDUCE-1876, but it is not committed to branch 0.21.
I think both MAPREDUCE-1876 and MAPREDUCE-1980 should be committed to branch 0.21.

-Amareshwari

On 8/1/10 4:48 AM, "Felix Halim" <fe...@gmail.com> wrote:

The log file produced in:

hadoop.job.history.location

Has a wrong type for "REDUCE_ATTEMPT_STARTED" (it is currently wrongly
printed as "MAP_ATTEMPT_STARTED").


This is one line of the log file produced:


{"type":"MAP_ATTEMPT_STARTED","event":{"TaskAttemptStarted":{"taskid":"task_201008010534_0001_r_000066","taskType":"REDUCE","attemptId":"attempt_201008010534_0001_r_000066_0","startTime":1280612215265,"trackerName":"tracker_compg3.cl.comp.nus.edu.sg:localhost.localdomain/127.0.0.1:37813","httpPort":38330}}},


Here, the type should be "REDUCE_ATTEMPT_STARTED", right? because the
"event.taskType" is "REDUCE".


Felix Halim