hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
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


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:

   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:

For queries about this service, please contact Infrastructure at:

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:
>             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|]
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(
>  at org.datanucleus.api.jdo.JDOPersistenceManager.evictAll(
>  at org.apache.hadoop.hive.metastore.ObjectStore.rollbackTransaction(
>  at org.apache.hadoop.hive.metastore.ObjectStore.getTable(
>  at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>  at java.lang.reflect.Method.invoke({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

View raw message