yarn 关闭 重复的 spark application

张映 发表于 2019-03-05

分类目录: hadoop/spark

标签:, ,

相同功能的spark submit提交了二次,竟然也都成功了。查看applications也有二个。

[root@bigserver1 ~]# yarn application -list   //application 列表
Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):2
 Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL
application_1551679510630_0001 netjoy.spark_sql.track_app.run SPARK root root.root RUNNING UNDEFINED 10% http://bigserver3:36860
application_1551675014530_0010 netjoy.spark_sql.track_app.run SPARK root root.root RUNNING UNDEFINED 10% http://bigserver3:45980

[root@bigserver1 ~]# yarn application -kill application_1551679510630_0001   //关闭application
Killing application application_1551679510630_0001
19/03/04 15:06:37 INFO impl.YarnClientImpl: Killed application application_1551679510630_0001

[root@bigserver1 ~]# yarn application -list   //在查看
Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):1
 Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL
application_1551675014530_0010 netjoy.spark_sql.track_app.run SPARK root root.root RUNNING UNDEFINED 10% http://bigserver3:45980
关闭 application

关闭 application



转载请注明
作者:海底苍鹰
地址:http://blog.51yip.com/hadoop/2073.html

留下评论

留下评论
  • (必需)
  • (必需) (will not be published)
  • (必需)   7X9=?