Skip to content

Commit

Permalink
Merge pull request #621 from solarkennedy/constraints_hint
Browse files Browse the repository at this point in the history
Log a hint that constraints are not met for a task
  • Loading branch information
gkleiman committed Jan 28, 2016
2 parents adcffc8 + efd28c0 commit 94b281a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class MesosJobFramework @Inject()(
case None =>
val foundResources = offerResources.toIterator.map(_._2.toString()).mkString(",")
log.warning(
"Insufficient resources remaining for task '%s', will append to queue. (Needed: [%s], Found: [%s])"
"Insufficient resources or constraints not met for task '%s', will append to queue. (Needed: [%s], Found: [%s])"
.stripMargin.format(taskId, neededResources, foundResources)
)
taskManager.enqueue(taskId, job.highPriority)
Expand Down

0 comments on commit 94b281a

Please sign in to comment.