[
https://issues.apache.org/jira/browse/HIVE-19818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503185#comment-16503185
]
Zhihua Deng commented on HIVE-19818:
------------------------------------
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
> Priority: Major
>
> 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
(v7.6.3#76005)