Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2403

JobHistory log files contain data that cannot be parsed by org.apache.hadoop.mapred.JobHistory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      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>

      Attachments

        1. EncodeDecode.java
          1 kB
          Amar Kamat
        2. patch-2403.txt
          7 kB
          Amareshwari Sriramadasu
        3. patch-2403.txt
          2 kB
          Amareshwari Sriramadasu
        4. patch-2403.txt
          2 kB
          Amareshwari Sriramadasu
        5. patch-2403.txt
          0.5 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            People

              amareshwari Amareshwari Sriramadasu
              runping Runping Qi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: