yarn 关闭 重复的 spark application

张映 发表于 2019-03-05

分类目录: hadoop/spark/scala

标签:, ,

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

  1. [root@bigserver1 ~]# yarn application -list   //application 列表  
  2. Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):2  
  3.  Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL  
  4. application_1551679510630_0001 netjoy.spark_sql.track_app.run SPARK root root.root RUNNING UNDEFINED 10% http://bigserver3:36860  
  5. application_1551675014530_0010 netjoy.spark_sql.track_app.run SPARK root root.root RUNNING UNDEFINED 10% http://bigserver3:45980  
  6.   
  7. [root@bigserver1 ~]# yarn application -kill application_1551679510630_0001   //关闭application  
  8. Killing application application_1551679510630_0001  
  9. 19/03/04 15:06:37 INFO impl.YarnClientImpl: Killed application application_1551679510630_0001  
  10.   
  11. [root@bigserver1 ~]# yarn application -list   //在查看  
  12. Total number of applications (application-types: [] and states: [SUBMITTED, ACCEPTED, RUNNING]):1  
  13.  Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL  
  14. 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