[
https://issues.apache.org/jira/browse/HIVE-2937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250238#comment-13250238
]
Navis commented on HIVE-2937:
-----------------------------
@Ashutosh Chauhan
It was related to initialization of metastore. Just added static sync in
HMSHandler#createDefaultDB and seemed enough to solve this.
> TestHiveServerSessions hangs when executed directly
> ---------------------------------------------------
>
> Key: HIVE-2937
> URL: https://issues.apache.org/jira/browse/HIVE-2937
> Project: Hive
> Issue Type: Test
> Reporter: Navis
> Priority: Trivial
> Attachments: HIVE-2937.D2697.1.patch
>
>
> {code}
> ant test -Doffline=true -Dtestcase=TestHiveServerSessions
> {code}
> Hangs infinitely.
> I couldn't imagine exact cause of the problem, but found that by adding 'new
> HiveServer.HiveServerHandler();' in setup(), test resulted to success.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira