Github user wangyum commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23030#discussion_r234233444
  
    --- Diff: 
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala
 ---
    @@ -735,18 +744,8 @@ private[yarn] class YarnAllocator(
     
     private object YarnAllocator {
       val MEM_REGEX = "[0-9.]+ [KMG]B"
    -  val PMEM_EXCEEDED_PATTERN =
    -    Pattern.compile(s"$MEM_REGEX of $MEM_REGEX physical memory used")
    -  val VMEM_EXCEEDED_PATTERN =
    -    Pattern.compile(s"$MEM_REGEX of $MEM_REGEX virtual memory used")
    +  val PMEM_EXCEEDED_PATTERN = raw"$MEM_REGEX of $MEM_REGEX physical memory 
used".r
    --- End diff --
    
    Yes. I will do it.


---

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

Reply via email to