Skip to content

Commit

Permalink
Add NM_VMEM_PMEM_RATIO back
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyum committed Nov 17, 2018
1 parent 9ad6df4 commit ca008cd
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -601,7 +601,8 @@ private[yarn] class YarnAllocator(
val diag = vmemExceededPattern.findFirstIn(completedContainer.getDiagnostics)
.map(_.concat(".")).getOrElse("")
val message = "Container killed by YARN for exceeding virtual memory limits. " +
s"$diag Consider boosting ${EXECUTOR_MEMORY_OVERHEAD.key} or disabling " +
s"$diag Consider boosting ${EXECUTOR_MEMORY_OVERHEAD.key} or boosting " +
s"${YarnConfiguration.NM_VMEM_PMEM_RATIO} or disabling " +
s"${YarnConfiguration.NM_VMEM_CHECK_ENABLED} because of YARN-4714."
(true, message)
case PMEM_EXCEEDED_EXIT_CODE =>
Expand Down

0 comments on commit ca008cd

Please sign in to comment.