You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/01/10 03:38:17 UTC

[12/37] git commit: Removing accidental file

Removing accidental file


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/a97ad55c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/a97ad55c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/a97ad55c

Branch: refs/heads/master
Commit: a97ad55c45f5903c85c7c15b27177316473f2c0c
Parents: 5938cfc
Author: Patrick Wendell <pw...@gmail.com>
Authored: Thu Dec 26 12:11:28 2013 -0800
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu Dec 26 12:11:28 2013 -0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/deploy/worker/DriverRunner.scala  | 3 +--
 .../scala/org/apache/spark/deploy/worker/DriverWrapper.scala | 8 --------
 2 files changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/a97ad55c/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala b/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala
index d13e651..402ad53 100644
--- a/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala
+++ b/core/src/main/scala/org/apache/spark/deploy/worker/DriverRunner.scala
@@ -136,8 +136,7 @@ private[spark] class DriverRunner(
   }
 
   /** Continue launching the supplied command until it exits zero or is killed. */
-  def runCommandWithRetry(command: Seq[String], envVars: Seq[(String, String)], baseDir: File)
-      : Unit = {
+  def runCommandWithRetry(command: Seq[String], envVars: Seq[(String, String)], baseDir: File) {
     // Time to wait between submission retries.
     var waitSeconds = 1
     var cleanExit = false

http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/a97ad55c/core/src/main/scala/org/apache/spark/deploy/worker/DriverWrapper.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/deploy/worker/DriverWrapper.scala b/core/src/main/scala/org/apache/spark/deploy/worker/DriverWrapper.scala
deleted file mode 100644
index 92fb084..0000000
--- a/core/src/main/scala/org/apache/spark/deploy/worker/DriverWrapper.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-package org.apache.spark.deploy.worker
-
-object DriverWrapper {
-  def main(args: Array[String]) {
-    val c = Console.readChar()
-    println(s"Char: $c")
-  }
-}