GitHub user guoxiaolongzte opened a pull request:

    https://github.com/apache/spark/pull/19351

    [SPARK-22127][CORE]The Master Register Application Function requires an 
warn log to increase the waiting status

    ## What changes were proposed in this pull request?
    
    The Master register application function requires an alarm log to increase 
the waiting status.
    
    When I create a spark application, I apply for the resources to reach the 
ceiling, the current Worker does not have enough resources to allocate 
Executor, this time spark application state is waiting.
    But I can not know from the spark master log this situation, which led to 
my positioning problems difficult, I mistakenly thought that the master or 
worker process dead.
    
    All that I added to the warting state of the warn log, which better helps 
us locate this kind of problem.
    
    1.WAITING  app:
    
![1](https://user-images.githubusercontent.com/26266482/30858530-a3f3c5e2-a2f2-11e7-9899-041cf3eac118.png)
    
    2.master log:
    
![2](https://user-images.githubusercontent.com/26266482/30858550-bd07ed38-a2f2-11e7-91db-952101976502.png)
    
    
    ## How was this patch tested?
    manual tests
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guoxiaolongzte/spark SPARK-22127

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19351.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19351
    
----
commit 3a756caf6c9015f32068b8c28c65ade151411392
Author: guoxiaolong <guo.xiaolo...@zte.com.cn>
Date:   2017-09-26T11:37:40Z

    [SPARK-22127]The Master Register Application Function requires an warn log 
to increase the waiting status

----


---

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

Reply via email to