GitHub user KaiXinXiaoLei opened a pull request:

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

    [SSPARK-22769][CORE] When driver stopping, there is error: RpcEnv already 
stopped

    ## What changes were proposed in this pull request?
    When driver stopping, there is a error: 
org.apache.spark.rpc.RpcEnvStoppedException: RpcEnv already stopped:
    
    17/12/12 18:20:44 INFO MemoryStore: MemoryStore cleared
    17/12/12 18:20:44 INFO BlockManager: BlockManager stopped
    17/12/12 18:20:44 INFO BlockManagerMaster: BlockManagerMaster stopped
    17/12/12 18:20:44 ERROR TransportRequestHandler: Error while invoking 
RpcHandler#receive() for one-way message.
    org.apache.spark.rpc.RpcEnvStoppedException: RpcEnv already stopped.
            at 
org.apache.spark.rpc.netty.Dispatcher.postMessage(Dispatcher.scala:152)
            at 
org.apache.spark.rpc.netty.Dispatcher.postOneWayMessage(Dispatcher.scala:134)
            at 
org.apache.spark.rpc.netty.NettyRpcHandler.receive(NettyRpcEnv.scala:570)
    
    I think the log level should be warning, not error.
    
    ## 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 rpc

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

    https://github.com/apache/spark/pull/19965.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 #19965
    
----
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