[ 
https://issues.apache.org/jira/browse/HIVE-26399?focusedWorklogId=794385&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-794385
 ]

ASF GitHub Bot logged work on HIVE-26399:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jul/22 21:29
            Start Date: 22/Jul/22 21:29
    Worklog Time Spent: 10m 
      Work Description: hsnusonic commented on PR #3446:
URL: https://github.com/apache/hive/pull/3446#issuecomment-1192947565

   Toggling this property causes some db operations never end, so I am closing 
this PR.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 794385)
    Time Spent: 20m  (was: 10m)

> Make DataNucleus use existing connection for value generation
> -------------------------------------------------------------
>
>                 Key: HIVE-26399
>                 URL: https://issues.apache.org/jira/browse/HIVE-26399
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Yu-Wen Lai
>            Assignee: Yu-Wen Lai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> DataNucleus by default uses a new connection for value generation, so for one 
> thread it might take two connections at a time. That causes a problem when 
> there are many concurrent requests coming in HMS. If all threads are waiting 
> for a new connection, then no threads can proceed.
> We can set  datanucleus.valuegeneration.transactionAttribute to "EXISTING" so 
> that DataNucleus will take existing connection rather than request a new one 
> from pool.
> Ref:
> https://www.datanucleus.org/products/accessplatform/jdo/persistence.html#pmf_properties
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to