Repository: spark
Updated Branches:
  refs/heads/master 028c6a5db -> dbacd9998


[SPARK-15104] Fix spacing in log line

Otherwise get logs that look like this (note no space before NODE_LOCAL)

```
INFO  [2016-05-03 21:18:51,477] org.apache.spark.scheduler.TaskSetManager: 
Starting task 0.0 in stage 101.0 (TID 7029, localhost, partition 0,NODE_LOCAL, 
1894 bytes)
```

Author: Andrew Ash <and...@andrewash.com>

Closes #12880 from ash211/patch-7.


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

Branch: refs/heads/master
Commit: dbacd99983a81d35476618be1615807ebba88f05
Parents: 028c6a5
Author: Andrew Ash <and...@andrewash.com>
Authored: Tue May 3 14:54:43 2016 -0700
Committer: Reynold Xin <r...@databricks.com>
Committed: Tue May 3 14:54:43 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/dbacd999/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala 
b/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala
index cd634bb..bfa1e86 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala
@@ -479,7 +479,7 @@ private[spark] class TaskSetManager(
           // val timeTaken = clock.getTime() - startTime
           val taskName = s"task ${info.id} in stage ${taskSet.id}"
           logInfo(s"Starting $taskName (TID $taskId, $host, partition 
${task.partitionId}," +
-            s"$taskLocality, ${serializedTask.limit} bytes)")
+            s" $taskLocality, ${serializedTask.limit} bytes)")
 
           sched.dagScheduler.taskStarted(task, info)
           return Some(new TaskDescription(taskId = taskId, attemptNumber = 
attemptNum, execId,


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

Reply via email to