[ 
https://issues.apache.org/jira/browse/HIVE-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457216#comment-13457216
 ] 

Carl Steinbach commented on HIVE-3469:
--------------------------------------

It looks like createDefaultDB() (which calls createDefaultDB_core()) is already 
synchronized. Any idea why this doesn't solve the problem?
                
> When new hive cluster is started, hive jdbc client hangs.
> ---------------------------------------------------------
>
>                 Key: HIVE-3469
>                 URL: https://issues.apache.org/jira/browse/HIVE-3469
>             Project: Hive
>          Issue Type: Bug
>          Components: Clients, Metastore, Thrift API
>         Environment: Hadoop-2.0.1 + Hive-0.9.0
>            Reporter: rohithsharma
>
> The scenario is as follows  : 
> For the new hive cluster , when multiple hive client is getting the 
> connection for hive server , there are 3 problems in metastore , hive client.
> 1. Since the derby is booted at first connection,  multiple client try to 
> create database.One of the client succeed and another one throw exception 
> because of *unique primary constraint* in metatables.
> 2. Once the Runtime exception is throw, the hive client which is made 
> connection request will hang forever.
> 3. Potentially "ConcurrentModificationException" is thrown by JDOQuery.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to