sudo yarn application -kill <app_id>认为我是用户hdfs?

时间:2018-09-10 20:00:36

标签: hadoop yarn

当SparkR后端处理程序冻结时,除了杀死纱线应用程序外,我无能为力了……这是它自己的stackoverflow问题……但是今天,当我尝试时,这是我第一次遇到错误sudo并终止该应用程序:

[me@myserver ~]$ sudo yarn application -kill application_1536084816396_0023
18/09/10 15:27:37 INFO client.AHSProxy: Connecting to Application History 
     server at myserver.com/10.20.60.132:10200
18/09/10 15:27:37 INFO client.RequestHedgingRMFailoverProxyProvider: Looking 
     for the active RM in [rm1, rm2]...
18/09/10 15:27:37 INFO client.RequestHedgingRMFailoverProxyProvider: Found 
     active RM [rm2]
Killing application application_1536084816396_0023
Exception in thread "main" org.apache.hadoop.yarn.exceptions.YarnException: 
     java.security.AccessControlException: User hdfs cannot perform 
     operation MODIFY_APP on application_1536084816396_0023 

为什么sudo将我解释为hdfs用户?我的yarn.admin.acl设置为dr.who,activity_analyzer,yarn ...曾经用来解决问题,看起来好像没有更改。

0 个答案:

没有答案