You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/11/12 20:23:58 UTC
[jira] [Updated] (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 ]
Hyukjin Kwon updated SPARK-18423:
---------------------------------
Description:
{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.
was:
{code}
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec <<< FAILURE! - in org.apache.spark.launcher.SparkLauncherSuite
testChildProcLauncher(org.apache.spark.launcher.SparkLauncherSuite) Time elapsed: 0.047 sec <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<1>
at org.apache.spark.launcher.SparkLauncherSuite.testChildProcLauncher(SparkLauncherSuite.java:177)
{code}
{code}
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)
Running org.apache.spark.streaming.JavaDurationSuite
{code}
{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.
> 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