[ https://issues.apache.org/jira/browse/HIVE-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976833#comment-16976833 ]
Tak-Lon (Stephen) Wu edited comment on HIVE-9223 at 11/20/19 12:54 AM: ----------------------------------------------------------------------- not sure if this is the same scope of this JIRA, but [HUE-9083|https://issues.cloudera.org/browse/HUE-9083] has fixed the {{max_number_of_sessions > 1}} issue such user does not submit multiple query to the same Tez session. (will that help to resolve this issue ?) was (Author: taklwu): not sure if this is the same scope of this JIRA, but [HUE-9083|https://issues.cloudera.org/browse/HUE-9083] has fixed the {{max_number_of_sessions > 1}} issue such user does not submit multiple query to the same Tez session. (will that remove this issue ?) > HiveServer2 on Tez doesn't support concurrent queries within one session > ------------------------------------------------------------------------ > > Key: HIVE-9223 > URL: https://issues.apache.org/jira/browse/HIVE-9223 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Pala M Muthaia > Priority: Major > > When a user submits multiple queries in the same HS2 session (using thrift > interface) concurrently, the query goes through the same TezSessionState and > ends up being submitted to the same Tez AM, and the second query fails with > the error "App master already running a DAG" > Is this by design? I looked into the code, and the comments as well as the > code suggest support only for serial execution of queries within the same > HiveServer2 session (on tez). > This works for CLI environment but in a server, it is plausible that client > sends multiple concurrent queries under the same session (e.g: a web app that > executes queries for user, such as Cloudera Hue). So shouldn't HS2 on Tez > implementation support concurrent queries? -- This message was sent by Atlassian Jira (v8.3.4#803005)