hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihua Deng (JIRA)" <>
Subject [jira] [Commented] (HIVE-19818) SessionState getQueryId returns an empty string
Date Wed, 06 Jun 2018 11:58:01 GMT


Zhihua Deng commented on HIVE-19818:

one possible way to solve the problem is that getting the query id from the job configuration

HiveConf.getVar(job, HiveConf.ConfVars.HIVEQUERYID, "").trim()

> SessionState getQueryId returns an empty string
> -----------------------------------------------
>                 Key: HIVE-19818
>                 URL:
>             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

This message was sent by Atlassian JIRA

View raw message