[ 
https://issues.apache.org/jira/browse/HIVE-21722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mahesh kumar behera updated HIVE-21722:
---------------------------------------
    Description: 
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. 

  was:
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, replStateLogTask 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. 


> REPL::END event log is not included in hiveStatement.getQueryLog output.
> ------------------------------------------------------------------------
>
>                 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
>             Fix For: 4.0.0
>
>
> 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