[ 
https://issues.apache.org/jira/browse/HADOOP-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated HADOOP-2403:
--------------------------------------------

    Attachment: patch-2403.txt

The patch does the following changes from earlier patch:
1. Removes unnecessary change for DELIMITER from String to Char. 
2. Adds *\n* at the end of each line  when the value spans through multiple 
lines, because BufferReader.readLine() doesnt read the line-termination 
character. 
3. Earlier patch was not putting the unescaped value in the parseBuffer. Fixed 
that in the patch.

> JobHistory log files contain data that cannot be parsed by 
> org.apache.hadoop.mapred.JobHistory
> ----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2403
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2403
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Runping Qi
>            Assignee: Amareshwari Sriramadasu
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: EncodeDecode.java, patch-2403.txt, patch-2403.txt, 
> patch-2403.txt
>
>
> When some tasks failed, the job tracker writes an line to the history file 
> with error message.
> However, the error message may mess up with the history file format, choking 
> the history parser. Here is an example:
> MapAttempt TASK_TYPE="MAP" TASKID="tip_200712102254_0001_m_000090" 
> TASK_ATTEMPT_ID="task_200712102254_0001_m_000090_0" TASK_STATUS="FAILED" 
> FINISH_TIME="1197327293253" HOSTNAME="XXXX:50050" 
> ERROR="java.lang.IllegalArgumentException: Trouble to get key or value (<,> 
> substituted by null 
> . Key XML-Ori:
>         <Root>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to