[ https://issues.apache.org/jira/browse/HIVE-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Chen updated HIVE-9120: ---------------------------- Status: Patch Available (was: Open) > Hive Query log does not work when hive.exec.parallel is true > ------------------------------------------------------------ > > Key: HIVE-9120 > URL: https://issues.apache.org/jira/browse/HIVE-9120 > Project: Hive > Issue Type: Bug > Components: HiveServer2, Logging > Reporter: Dong Chen > Assignee: Dong Chen > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)