GitHub user KaiXinXiaoLei opened a pull request:

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

    [SPARK-22770][CORE] When driver stopping, there is error: Could not find 
CoarseGrainedScheduler

    ## What changes were proposed in this pull request?
    
    When driver stopping, there is a error: 
    
    17/12/12 18:30:16 INFO MapOutputTrackerMasterEndpoint: 
MapOutputTrackerMasterEndpoint stopped!
    17/12/12 18:30:16 ERROR TransportRequestHandler: Error while invoking 
RpcHandler#receive() for one-way message.
    org.apache.spark.SparkException: Could not find CoarseGrainedScheduler.
            at 
org.apache.spark.rpc.netty.Dispatcher.postMessage(Dispatcher.scala:154)
            at 
org.apache.spark.rpc.netty.Dispatcher.postOneWayMessage(Dispatcher.scala:134)
            at 
org.apache.spark.rpc.netty.NettyRpcHandler.receive(NettyRpcEnv.scala:570)
            at 
org.apache.spark.network.server.TransportRequestHandler.processOneWayMessage(TransportRequestHandler.java:180)
            at 
org.apache.spark.network.server.TransportRequestHandler.handle(TransportRequestHandler.java:109)
            at 
org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:119)
            at 
org.apache.spark.network.server.TransportChannelHandler.channelRead0(TransportChannelHandler.java:51)
    
    Because the endpoint of CoarseGrainedScheduler is stopped, this error is 
not problem, so i think this error should not be printed.
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    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/KaiXinXiaoLei/spark pointstopped

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

    https://github.com/apache/spark/pull/19967.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 #19967
    
----
commit 4d95a7a3bbcec7272c01938e8f99b8f6df3ed2ed
Author: hanghang <[email protected]>
Date:   2017-12-13T11:53:18Z

    change code

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to