[ https://issues.apache.org/jira/browse/HIVE-16459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975965#comment-15975965 ]
Rui Li commented on HIVE-16459: ------------------------------- The TestSparkCliDriver is not related and tracked by HIVE-15165. > Cancel outstanding RPCs when channel closes > ------------------------------------------- > > 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)