Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE36510425 for ; Mon, 1 Dec 2014 21:17:14 +0000 (UTC) Received: (qmail 85007 invoked by uid 500); 1 Dec 2014 21:17:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84944 invoked by uid 500); 1 Dec 2014 21:17:13 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 84882 invoked by uid 500); 1 Dec 2014 21:17:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84874 invoked by uid 99); 1 Dec 2014 21:17:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 21:17:13 +0000 Date: Mon, 1 Dec 2014 21:17:13 +0000 (UTC) From: "Marcelo Vanzin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8957) Remote spark context needs to clean up itself in case of connection timeout [Spark Branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230478#comment-14230478 ] Marcelo Vanzin commented on HIVE-8957: -------------------------------------- If you don't mind the bug remaining unattended for several days, sure. I have my hands full with all sorts of other things at the moment. > Remote spark context needs to clean up itself in case of connection timeout [Spark Branch] > ------------------------------------------------------------------------------------------ > > Key: HIVE-8957 > URL: https://issues.apache.org/jira/browse/HIVE-8957 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Attachments: HIVE-8957.1-spark.patch > > > In the current SparkClient implementation (class SparkClientImpl), the constructor does some initialization and in the end waits for the remote driver to connect. In case of timeout, it just throws an exception without cleaning itself. The cleanup is necessary to release system resources. -- This message was sent by Atlassian JIRA (v6.3.4#6332)