Skip to content

Commit 94b281a

Browse files
committed
Merge pull request #621 from solarkennedy/constraints_hint
Log a hint that constraints are not met for a task
2 parents adcffc8 + efd28c0 commit 94b281a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosJobFramework.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class MesosJobFramework @Inject()(
153153
case None =>
154154
val foundResources = offerResources.toIterator.map(_._2.toString()).mkString(",")
155155
log.warning(
156-
"Insufficient resources remaining for task '%s', will append to queue. (Needed: [%s], Found: [%s])"
156+
"Insufficient resources or constraints not met for task '%s', will append to queue. (Needed: [%s], Found: [%s])"
157157
.stripMargin.format(taskId, neededResources, foundResources)
158158
)
159159
taskManager.enqueue(taskId, job.highPriority)

0 commit comments

Comments
 (0)