hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-25261) RetryingHMSHandler should wrap the MetaException with short description of the target
Date Tue, 27 Jul 2021 15:02:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 27/Jul/21 15:01
            Start Date: 27/Jul/21 15:01
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 commented on pull request #2405:
URL: https://github.com/apache/hive/pull/2405#issuecomment-887588001


   Thank you for the review & merge! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 628536)
    Time Spent: 1h  (was: 50m)

> RetryingHMSHandler should wrap the MetaException with short description of the target
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-25261
>                 URL: https://issues.apache.org/jira/browse/HIVE-25261
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> [RetryingMetaStoreClient|https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java#L267-L276]
relies on the message of MetaException to make decision on retrying the current operation
when failed. However the RetryingHMSHandler only wraps the message into MetaException, which
may cause the client unable to retry with other metastore instances.
> For example, if we got exception:
> {noformat}
> Caused by: javax.jdo.JDOFatalUserException: Persistence Manager has been closed
>  at org.datanucleus.api.jdo.JDOPersistenceManager.assertIsOpen(JDOPersistenceManager.java:2235)
>  at org.datanucleus.api.jdo.JDOPersistenceManager.evictAll(JDOPersistenceManager.java:481)
>  at org.apache.hadoop.hive.metastore.ObjectStore.rollbackTransaction(ObjectStore.java:635)
>  at org.apache.hadoop.hive.metastore.ObjectStore.getTable(ObjectStore.java:1415)
>  at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498){noformat}
> RetryingHMSHandler will throw MetaException with message 'Persistence Manager has been
closed', which not in the recoverable pattern defined in client.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message