Github user rmetzger commented on the pull request:

    https://github.com/apache/flink/pull/1978#issuecomment-219987024
  
    After the shutdown, I got the following exception
    ```
    2016-05-18 10:26:07,076 INFO  org.apache.flink.yarn.ApplicationClient       
                - Disconnect from JobManager 
Actor[akka.tcp://[email protected]:41286/user/jobmanager#49723024].
    2016-05-18 10:26:07,083 INFO  
akka.remote.RemoteActorRefProvider$RemotingTerminator         - Shutting down 
remote daemon.
    2016-05-18 10:26:07,083 INFO  
akka.remote.RemoteActorRefProvider$RemotingTerminator         - Remote daemon 
shut down; proceeding with flushing remote transports.
    2016-05-18 10:26:07,112 INFO  
akka.remote.RemoteActorRefProvider$RemotingTerminator         - Remoting shut 
down.
    2016-05-18 10:26:07,128 INFO  org.apache.flink.yarn.YarnClusterClient       
                - Deleting files in 
hdfs://nameservice1/user/robert/.flink/application_1463565924024_0001
    2016-05-18 10:26:07,130 INFO  org.apache.flink.yarn.YarnClusterClient       
                - Application application_1463565924024_0001 finished with 
state FINISHED and final state SUCCEEDED at 1463567167072
    Error while deploying YARN cluster: The YarnClusterClient has already been 
stopped
    java.lang.RuntimeException: The YarnClusterClient has already been stopped
        at 
org.apache.flink.yarn.YarnClusterClient.getClusterStatus(YarnClusterClient.java:304)
        at 
org.apache.flink.yarn.YarnClusterClient.connectToCluster(YarnClusterClient.java:198)
        at 
org.apache.flink.yarn.YarnClusterClient.<init>(YarnClusterClient.java:132)
        at 
org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(AbstractYarnClusterDescriptor.java:676)
        at 
org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploy(AbstractYarnClusterDescriptor.java:312)
        at 
org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:435)
        at 
org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:345)
    2016-05-18 10:26:07,445 INFO  org.apache.flink.yarn.YarnClusterClient       
                - YARN Client is shutting down
    ```



---
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.
---

Reply via email to