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-25385) Prevent Hive Server 2 process failures when InterruptedException encountered (Part 1)
Date Tue, 27 Jul 2021 18:10:00 GMT


ASF GitHub Bot logged work on HIVE-25385:

                Author: ASF GitHub Bot
            Created on: 27/Jul/21 18:09
            Start Date: 27/Jul/21 18:09
    Worklog Time Spent: 10m 
      Work Description: mattmccline-microsoft commented on pull request #2532:

   Not sure this is the right thing to do -- tabling for now.

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: 628652)
    Time Spent: 0.5h  (was: 20m)

> Prevent Hive Server 2 process failures when InterruptedException encountered (Part 1)
> -------------------------------------------------------------------------------------
>                 Key: HIVE-25385
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: hive-interrupted-part1-01-3_1.patch, hive-interrupted-part1-01-master.patch
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
> To prevent Hive Server 2 process failure, wrap InterruptedException with another Exception
like MetaException, HiveSQLException, etc. Otherwise, InterruptedException rises to
and kills the process.
> Example of problem stack trace:
> java.lang.reflect.UndeclaredThrowableExceptionjava.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy44.heartbeat(Unknown Source) at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown
Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke( at org.apache.hadoop.hive.metastore.HiveMetaStoreClient$SynchronizedHandler.invoke(
at com.sun.proxy.$Proxy44.heartbeat(Unknown Source) at org.apache.hadoop.hive.ql.lockmgr.DbTxnManager.heartbeat(
at org.apache.hadoop.hive.ql.lockmgr.DbTxnManager$Heartbeater.lambda$run$0(
at Method) at
at at
org.apache.hadoop.hive.ql.lockmgr.DbTxnManager$ at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask.runAndReset( at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$
at by: java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(
... 19 more

This message was sent by Atlassian Jira

View raw message