Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19296

Add log to record MapredLocalTask Failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Diagnosability
    • None

    Description

      In some cases, When MapredLocalTask fails around Child process start time, we can not find the detail error information anywhere(not in strerr log, no MapredLocal log file). All we get is :

      ******************* ERROR org.apache.hadoop.hive.ql.exec.Task: [HiveServer2-Background-Pool: Thread-****]: Execution failed with exit status: 1
      ******************* ERROR org.apache.hadoop.hive.ql.exec.Task: [HiveServer2-Background-Pool: Thread-****]: Obtaining error information
      ******************* ERROR org.apache.hadoop.hive.ql.exec.Task: [HiveServer2-Background-Pool: Thread-****]: 
      Task failed!
      Task ID:
        Stage-48
      
      Logs:
      
      ******************* ERROR org.apache.hadoop.hive.ql.exec.Task: [HiveServer2-Background-Pool: Thread-****]: /var/log/hive/hadoop-cmf-hive1-HIVESERVER2-t.log.out
      ******************* ERROR org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask: [HiveServer2-Background-Pool: Thread-****]: Execution failed with exit status: 1
      

      It is really hard to debug.

      Attachments

        1. HIVE-19296.1.patch
          0.8 kB
          Yongzhi Chen

        Activity

          People

            ychena Yongzhi Chen
            ychena Yongzhi Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: