[
https://issues.apache.org/jira/browse/HIVE-12528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15053962#comment-15053962
]
Sergey Shelukhin commented on HIVE-12528:
-----------------------------------------
What do you mean by correct visibility? The approach is the same - the sessions
are taken from queue, the sessions are put back into queue. The only logic
change is that it's done in parallel; all the threads are joined at the end in
the same place. As long as there are no threading issues between different
SessionState/TezClient objects, it should be ok.
> don't start HS2 Tez sessions in a single thread
> -----------------------------------------------
>
> Key: HIVE-12528
> URL: https://issues.apache.org/jira/browse/HIVE-12528
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-12528.patch
>
>
> Starting sessions in parallel would improve the startup time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)