[ 
https://issues.apache.org/jira/browse/HIVE-21722?focusedWorklogId=241105&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-241105
 ]

ASF GitHub Bot logged work on HIVE-21722:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/May/19 14:47
            Start Date: 13/May/19 14:47
    Worklog Time Spent: 10m 
      Work Description: sankarh commented on pull request #625: HIVE-21722 : 
REPL::END event log is not included in hiveStatement.getQueryLog output.
URL: https://github.com/apache/hive/pull/625#discussion_r283378918
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/exec/TaskRunner.java
 ##########
 @@ -74,6 +75,7 @@ public boolean isRunning() {
 
   @Override
   public void run() {
+    LogUtils.registerLoggingContext(ss.getConf());
 
 Review comment:
   Should use tsk.getConf() otherwise the configs provided via WITH clause 
won't be there.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 241105)
    Time Spent: 1h 10m  (was: 1h)

> REPL:: logs are missing in hiveStatement.getQueryLog output during parallel 
> execution mode.
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21722
>                 URL: https://issues.apache.org/jira/browse/HIVE-21722
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2, repl
>    Affects Versions: 4.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21722.01.patch
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> getQueryLog only reads logs from Background thread scope. If parallel 
> execution is set to true, a new thread is created for execution and all the 
> logs added by the new thread are not added to the parent  Background thread 
> scope. In replication scope, replStateLogTasks are started in parallel mode 
> causing the logs to be skipped from getQueryLog scope. 
> There is one more issue, with the conf is not passed while creating 
> replStateLogTask during bootstrap load end. The same issue is there with 
> event load during incremental load. The incremental load end log task is 
> created with the proper config. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to