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

    https://github.com/apache/spark/pull/19351#discussion_r141224687
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/master/Master.scala 
---
    @@ -265,6 +265,9 @@ private[deploy] class Master(
             val app = createApplication(description, driver)
             registerApplication(app)
             logInfo("Registered app " + description.name + " with ID " + 
app.id)
    +        if(app.state == ApplicationState.WAITING) {
    --- End diff --
    
    it is a warning.
    Because there is no resource allocation itself may lead to spark business 
has been waiting, there will be problems.
    
    Now I fix as shown below,Do you think this is correct?
    
     if(app.state == ApplicationState.WAITING) {
              logWarning("App need to wait worker Launch executor," +
                "maybe worker does not have extra resources to allocate")
    }


---

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

Reply via email to