-bash-4.1$ storm-yarn getStormConfig -appId application_1565674728089_0006 -output /home/hadoop/.storm/storm.yaml
2019-08-13 15:11:32,454 INFO client.RMProxy: Connecting to ResourceManager at binghe100/192.168.175.100:8032
2019-08-13 15:11:32,789 INFO yarn.StormOnYarn: application report for application_1565674728089_0006 :N/A:-1
2019-08-13 15:11:32,789 INFO yarn.StormOnYarn: Attaching to N/A:-1 to talk to app master application_1565674728089_0006
Exception in thread "main" java.lang.IllegalArgumentException: invalid port: -1
at org.apache.storm.security.auth.ThriftClient.(ThriftClient.java:64)
at org.apache.storm.security.auth.ThriftClient.(ThriftClient.java:46)
at com.yahoo.storm.yarn.MasterClient.(MasterClient.java:48)
at com.yahoo.storm.yarn.MasterClient.getConfiguredClient(MasterClient.java:38)
at com.yahoo.storm.yarn.StormOnYarn.getClient(StormOnYarn.java:117)
at com.yahoo.storm.yarn.StormMasterCommand.process(StormMasterCommand.java:90)
at com.yahoo.storm.yarn.Client.execute(Client.java:121)
at com.yahoo.storm.yarn.Client.main(Client.java:127)
-bash-4.1$ yarn application -kill application_1565674728089_0006
-bash-4.1$ storm-yarn getStormConfig -appId application_1565674728089_0006 -output /home/hadoop/.storm/storm.yaml(ThriftClient.java:64)
at org.apache.storm.security.auth.ThriftClient.(ThriftClient.java:46)
at com.yahoo.storm.yarn.MasterClient.(MasterClient.java:48)
at com.yahoo.storm.yarn.MasterClient.getConfiguredClient(MasterClient.java:38)
at com.yahoo.storm.yarn.StormOnYarn.getClient(StormOnYarn.java:117)
at com.yahoo.storm.yarn.StormMasterCommand.process(StormMasterCommand.java:90)
at com.yahoo.storm.yarn.Client.execute(Client.java:121)
at com.yahoo.storm.yarn.Client.main(Client.java:127)
-bash-4.1$ yarn application -kill application_1565674728089_0006
2019-08-13 15:11:32,454 INFO client.RMProxy: Connecting to ResourceManager at binghe100/192.168.175.100:8032 2019-08-13 15:11:32,789 INFO yarn.StormOnYarn: application report for application_1565674728089_0006 :N/A:-1 2019-08-13 15:11:32,789 INFO yarn.StormOnYarn: Attaching to N/A:-1 to talk to app master application_1565674728089_0006 Exception in thread "main" java.lang.IllegalArgumentException: invalid port: -1 at org.apache.storm.security.auth.ThriftClient.