Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D872200BB8 for ; Sat, 12 Nov 2016 21:38:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C546160B15; Sat, 12 Nov 2016 20:38:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8D2FB160AF5 for ; Sat, 12 Nov 2016 21:37:59 +0100 (CET) Received: (qmail 85994 invoked by uid 500); 12 Nov 2016 20:37:58 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 85873 invoked by uid 99); 12 Nov 2016 20:37:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2016 20:37:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 81E0A2C4C73 for ; Sat, 12 Nov 2016 20:37:58 +0000 (UTC) Date: Sat, 12 Nov 2016 20:37:58 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SPARK-18423) ReceiverTracker should close checkpoint dir when stopped even if it was not started MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 12 Nov 2016 20:38:00 -0000 [ https://issues.apache.org/jira/browse/SPARK-18423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-18423: ------------------------------------ Assignee: (was: Apache Spark) > ReceiverTracker should close checkpoint dir when stopped even if it was not started > ----------------------------------------------------------------------------------- > > Key: SPARK-18423 > URL: https://issues.apache.org/jira/browse/SPARK-18423 > Project: Spark > Issue Type: Sub-task > Components: DStreams > Reporter: Hyukjin Kwon > > {code} > Running org.apache.spark.streaming.JavaAPISuite > Tests run: 53, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 22.325 sec <<< FAILURE! - in org.apache.spark.streaming.JavaAPISuite > testCheckpointMasterRecovery(org.apache.spark.streaming.JavaAPISuite) Time elapsed: 3.418 sec <<< ERROR! > java.io.IOException: Failed to delete: C:\projects\spark\streaming\target\tmp\1474255953021-0 > at org.apache.spark.streaming.JavaAPISuite.testCheckpointMasterRecovery(JavaAPISuite.java:1808) > {code} > {code} > mapWithState - basic operations with simple API (7 seconds, 203 milliseconds) > [info] Exception encountered when attempting to run a suite with class name: org.apache.spark.streaming.MapWithStateSuite *** ABORTED *** (12 seconds, 469 milliseconds) > [info] java.io.IOException: Failed to delete: C:\projects\spark\streaming\checkpoint\spark-226c0e37-8c46-4b2a-9c0f-2317cde31d40 > {code} > These tests seem caused by not closed files in {{ReceiverTracker}}. Please refer the discussion in https://github.com/apache/spark/pull/15618#issuecomment-259660817 > Root cause is, it is being created and stopped without starting. In this case, `RecieverTracker` does not close checkpoint dir. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org