[ 
https://issues.apache.org/jira/browse/HIVE-18671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yongzhi Chen updated HIVE-18671:
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.0
                   3.0.0
           Status: Resolved  (was: Patch Available)

Committed in master and branch-2. Thanks [~aihuaxu] for the review. 

> lock not released after Hive on Spark query was cancelled
> ---------------------------------------------------------
>
>                 Key: HIVE-18671
>                 URL: https://issues.apache.org/jira/browse/HIVE-18671
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>            Reporter: Yongzhi Chen
>            Assignee: Yongzhi Chen
>            Priority: Major
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HIVE-18671.1.patch, HIVE-18671.2.patch
>
>
> When cancel the query is running on spark, the SparkJobMonitor can not 
> return, therefore the locks hold by the query can not be released. When 
> enable debug in log, you will see many log info as following:
> {noformat}
> 2018-02-09 08:27:09,613 INFO 
> org.apache.hadoop.hive.ql.exec.spark.status.SparkJobMonitor: 
> [HiveServer2-Background-Pool: Thread-80]: state = CANCELLED
> 2018-02-09 08:27:10,613 INFO 
> org.apache.hadoop.hive.ql.exec.spark.status.SparkJobMonitor: 
> [HiveServer2-Background-Pool: Thread-80]: state = CANCELLED
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to