[
https://issues.apache.org/jira/browse/HIVE-19818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503185#comment-16503185
]
Zhihua Deng edited comment on HIVE-19818 at 10/10/23 1:24 AM:
--------------------------------------------------------------
One possible way to solve the problem is that getting the query id from the job
configuration :
HiveConf.getVar(job, HiveConf.ConfVars.HIVEQUERYID, "").trim()
was (Author: dengzh):
one possible way to solve the problem is that getting the query id from the job
configuration like:
HiveConf.getVar(job, HiveConf.ConfVars.HIVEQUERYID, "").trim()
> SessionState getQueryId returns an empty string
> -----------------------------------------------
>
> Key: HIVE-19818
> URL: https://issues.apache.org/jira/browse/HIVE-19818
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.2
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Minor
> Attachments: HIVE-19818.patch
>
>
> When we execute sql asynchronously, a new configuration based on the session
> holds will be created and passed to the driver instance, which resulting to
> return an empty string when SessionState#getQueryId called later on. This
> problem can be seen in HadoopJobExecHelper.java.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)