You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/11/12 20:37:58 UTC

[jira] [Assigned] (SPARK-18423) ReceiverTracker should close checkpoint dir when stopped even if it was not started

     [ 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