Repository: spark Updated Branches: refs/heads/master 482c5afbf -> 3570119c3
Remove extra semicolon in Task.scala Author: GuoQiang Li <[email protected]> Closes #1876 from witgo/remove_semicolon_in_Task_scala and squashes the following commits: c6ea732 [GuoQiang Li] Remove extra semicolon in Task.scala Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3570119c Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3570119c Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3570119c Branch: refs/heads/master Commit: 3570119c34ab8d61507e7703a171b742fb0957d4 Parents: 482c5af Author: GuoQiang Li <[email protected]> Authored: Sun Aug 10 12:12:22 2014 -0700 Committer: Reynold Xin <[email protected]> Committed: Sun Aug 10 12:12:22 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/3570119c/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: [email protected] For additional commands, e-mail: [email protected]
