You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rui Li (JIRA)" <ji...@apache.org> on 2017/04/20 03:13:04 UTC

[jira] [Updated] (HIVE-16459) Forward channelInactive to RpcDispatcher

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

Rui Li updated HIVE-16459:
--------------------------
    Summary: Forward channelInactive to RpcDispatcher  (was: Cancel outstanding RPCs when channel closes)

> Forward channelInactive to RpcDispatcher
> ----------------------------------------
>
>                 Key: HIVE-16459
>                 URL: https://issues.apache.org/jira/browse/HIVE-16459
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-16459.1.patch, HIVE-16459.2.patch, HIVE-16459.2.patch
>
>
> In SparkTask, we try to get job infos after the query finishes. Assume the job finishes due to remote side crashes and thus closes the RPC. There's a race condition: if we try to get job info before we notice the RPC is closed, the SparkTask waits for {{hive.spark.client.future.timeout}} (default 60s) before it returns, even though we already know the job has failed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)