Repository: spark
Updated Branches:
  refs/heads/branch-1.1 076ddda6a -> bb23b118e


Remove extra semicolon in Task.scala

Author: GuoQiang Li <wi...@qq.com>

Closes #1876 from witgo/remove_semicolon_in_Task_scala and squashes the 
following commits:

c6ea732 [GuoQiang Li] Remove extra semicolon in Task.scala

(cherry picked from commit 3570119c34ab8d61507e7703a171b742fb0957d4)
Signed-off-by: Reynold Xin <r...@apache.org>


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

Branch: refs/heads/branch-1.1
Commit: bb23b118eb32db67779ff010fa33273e46b123f2
Parents: 076ddda
Author: GuoQiang Li <wi...@qq.com>
Authored: Sun Aug 10 12:12:22 2014 -0700
Committer: Reynold Xin <r...@apache.org>
Committed: Sun Aug 10 12:12:31 2014 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/scheduler/Task.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/bb23b118/core/src/main/scala/org/apache/spark/scheduler/Task.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/scheduler/Task.scala 
b/core/src/main/scala/org/apache/spark/scheduler/Task.scala
index 5c5e421..cbe0bc0 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/Task.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/Task.scala
@@ -46,7 +46,7 @@ private[spark] abstract class Task[T](val stageId: Int, var 
partitionId: Int) ex
 
   final def run(attemptId: Long): T = {
     context = new TaskContext(stageId, partitionId, attemptId, runningLocally 
= false)
-    context.taskMetrics.hostname = Utils.localHostName();
+    context.taskMetrics.hostname = Utils.localHostName()
     taskThread = Thread.currentThread()
     if (_killed) {
       kill(interruptThread = false)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to