Hyukjin Kwon created SPARK-18423:
------------------------------------
Summary: 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}
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]