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

Hive Query log does not work when hive.exec.parallel is true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • HiveServer2, Logging
    • None

    Description

      When hive.exec.parallel is true, the query log is not saved and Beeline can not retrieve it.
      When parallel, Driver.launchTask() may run the task in a new thread if other conditions are also on. TaskRunner.start() is invoked instead of TaskRunner.runSequential(). This cause the threadlocal variable OperationLog to be null and query logs are not logged.
      The OperationLog object should be set in the new thread in this case.

      Attachments

        1. HIVE-9120.patch
          20 kB
          Dong Chen

        Issue Links

          Activity

            People

              dongc Dong Chen
              dongc Dong Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: