Skip to content
Snippets Groups Projects
Commit 9cc764f5 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Code style

parent 14972141
No related branches found
No related tags found
No related merge requests found
......@@ -201,8 +201,11 @@ private[spark] class TaskSetManager(
val taskId = sched.newTaskId()
// Figure out whether this should count as a preferred launch
val preferred = isPreferredLocation(task, host)
val prefStr = if (preferred) "preferred"
else "non-preferred, not one of " + task.preferredLocations.mkString(", ")
val prefStr = if (preferred) {
"preferred"
} else {
"non-preferred, not one of " + task.preferredLocations.mkString(", ")
}
logInfo("Starting task %s:%d as TID %s on slave %s: %s (%s)".format(
taskSet.id, index, taskId, slaveId, host, prefStr))
// Do various bookkeeping
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment