Github user SaintBacchus commented on the pull request:

    https://github.com/apache/spark/pull/5663#issuecomment-97353229
  
    I shutdown the network about 3 mins.
    @tgravescs The main exception was showed in the description. 
    And I find another log as:
    ```scala
    Exception in thread "Yarn application state monitor" java.io.IOException: 
Failed on local exception: java.net.SocketException: Network is unreachable; 
Host Details : local host is: "vm-120/9.91.11.120"; des
    tination host is: "linux-223":45022;
            at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:776)
            at org.apache.hadoop.ipc.Client.call(Client.java:1480)
            at org.apache.hadoop.ipc.Client.call(Client.java:1407)
            at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
            at com.sun.proxy.$Proxy7.getApplicationReport(Unknown Source)
            at 
org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.getApplicationReport(ApplicationClientProtocolPBClientImpl.java:191)
            at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
            at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
            at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
            at com.sun.proxy.$Proxy8.getApplicationReport(Unknown Source)
            at 
org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplicationReport(YarnClientImpl.java:429)
            at 
org.apache.spark.deploy.yarn.Client.getApplicationReport(Client.scala:148)
            at 
org.apache.spark.deploy.yarn.Client.monitorApplication(Client.scala:655)
            at 
org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend$$anon$1.run(YarnClientSchedulerBackend.scala:132)
    Caused by: java.net.SocketException: Network is unreachable
            at sun.nio.ch.Net.connect0(Native Method)
            at sun.nio.ch.Net.connect(Net.java:465)
            at sun.nio.ch.Net.connect(Net.java:457)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)
            at 
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:192)
            at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
            at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
            at 
org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:609)
            at 
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:707)
            at 
org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:370)
            at org.apache.hadoop.ipc.Client.getConnection(Client.java:1529)
            at org.apache.hadoop.ipc.Client.call(Client.java:1446)
            ... 14 more
    ```
    
    So I tried to catch this problem in  thread "Yarn application state 
monitor" and it work.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to