aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMridul Muralidharan <mridul@gmail.com>2013-04-16 22:15:34 +0530
committerMridul Muralidharan <mridul@gmail.com>2013-04-16 22:15:34 +0530
commitad80f68eb5d153d7f666447966755efce186d021 (patch)
tree1d4da58fc8a308aa86ed0de10acc694bbe096017
parentf7969f72eeaba0dc127efd13e983791f6f7930c5 (diff)
downloadspark-ad80f68eb5d153d7f666447966755efce186d021.tar.gz
spark-ad80f68eb5d153d7f666447966755efce186d021.tar.bz2
spark-ad80f68eb5d153d7f666447966755efce186d021.zip
remove spurious debug statements
-rw-r--r--core/src/main/scala/spark/rdd/CheckpointRDD.scala4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/scala/spark/rdd/CheckpointRDD.scala b/core/src/main/scala/spark/rdd/CheckpointRDD.scala
index 1026dc54e0..24d527f38f 100644
--- a/core/src/main/scala/spark/rdd/CheckpointRDD.scala
+++ b/core/src/main/scala/spark/rdd/CheckpointRDD.scala
@@ -71,8 +71,6 @@ private[spark] object CheckpointRDD extends Logging {
val finalOutputPath = new Path(outputDir, finalOutputName)
val tempOutputPath = new Path(outputDir, "." + finalOutputName + "-attempt-" + ctx.attemptId)
- println("writeToFile. path = " + path + ", tempOutputPath = " + tempOutputPath + ", finalOutputPath = " + finalOutputPath)
-
if (fs.exists(tempOutputPath)) {
throw new IOException("Checkpoint failed: temporary path " +
tempOutputPath + " already exists")
@@ -90,8 +88,6 @@ private[spark] object CheckpointRDD extends Logging {
serializeStream.writeAll(iterator)
serializeStream.close()
- println("writeToFile. serializeStream.close ... renaming from " + tempOutputPath + " to " + finalOutputPath)
-
if (!fs.rename(tempOutputPath, finalOutputPath)) {
if (!fs.exists(finalOutputPath)) {
logInfo("Deleting tempOutputPath " + tempOutputPath)