You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/08/25 02:27:31 UTC

[GitHub] [incubator-linkis] 2018yinjian commented on issue #2963: Failed to request external resourceRMErrorException: errCode: 11007 获取主Yarn resourcemanager异常

2018yinjian commented on issue #2963:
URL: https://github.com/apache/incubator-linkis/issues/2963#issuecomment-1226696522

   [root@emr-header-3 zmn]# curl http://192.168.2.248:8088/ws/v1/cluster/info
   <html>
   <head>
   <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
   <title>Error 401 Authentication required</title>
   </head>
   <body><h2>HTTP ERROR 401</h2>
   <p>Problem accessing /ws/v1/cluster/info. Reason:
   <pre>    Authentication required</pre></p>
   </body>
   </html>
   yarn启用了Simple认证,需要加上认证用户
   
   [root@emr-header-3 zmn]# curl http://192.168.2.248:8088/ws/v1/cluster/info?user.name=hadoop
   {"clusterInfo":{"id":1640111027208,"startedOn":1640111027208,"state":"STARTED","haState":"ACTIVE","rmStateStoreName":"org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore","resourceManagerVersion":"3.2.1","resourceManagerBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum 3120421249ad6ad216e5915e1442e18","resourceManagerVersionBuiltOn":"2021-03-26T12:16Z","hadoopVersion":"3.2.1","hadoopBuildVersion":"3.2.1 from 79f54210e4619179b3a068369aba61e816eb1809 by jenkins source checksum a727b26fa21579ad1b194bc17821d8","hadoopVersionBuiltOn":"2021-03-26T12:13Z","haZooKeeperConnectionState":"CONNECTED"}}
   
   1,http://192.168.2.248:8088/cluster?user.name=hadoop url上带上用户也会报同样的错误
   2,{
   "rmWebAddress": "http://172.17.217.248:8088",
   "hadoopVersion": "3.2.1",
   "authorEnable":true,
   "user":"hadoop",
   "pwd":"hadoop",
   "kerberosEnable":false,
   "principalName":"@PRINCIPAL_NAME",
   "keytabPath":"@KEYTAB_PATH",
   "krb5Path":"@KRB5_PATH"
   }
   authorEnable改成true配置用户,也会存在同样的问题
   3,请问认证的信息应该配置在哪里才会生效
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org