连接Oozie服务器时出错。重试次数=1。异常=无法认证,认证失败

时间:2019-06-27 07:06:15

标签: authentication kerberos oozie hdp

我有一个启用Kerberos的HDP 3.1群集,并且正在尝试从Web UI运行一些oozie作业。 Hadoop-Auth Jar版本是hadoop-auth-3.1.1.3.1.0.0-78.jar和 Oozie-Client Jar版本是oozie-client-4.3.1.3.1.0.0-78.jar。

身份验证在HDP 2.6上工作正常,但在HDP 3.1上中断。从HDP 2.6(具有hadoop-auth-2.7.3.2.6.2.0-205.jar和oozie-client-4.2.0.2.6.5.0-292.jar)进行了许多升级,到HDP 3.1。

请让我知道是否有人在使用Kerberos的HDP 3.1上遇到过类似问题。 我的Oozie作业现在由于身份验证而中断。下面是日志,

Caused by: java.io.IOException: Error while connecting Oozie server. No of retries = 1. Exception = Could not authenticate, Authentication failed, URL: http://catchy1.fyre.xxx.com:11000/oozie/v2/jobs?filter=status%3DPREP%3Bstatus%3DRUNNING%3Buser%3Dbigmatch&jobtype=coord&offset=1&len=100&user.name=bigmatch, status: 401, message: Unauthorized
    at org.apache.oozie.client.retry.ConnectionRetriableClient.execute(ConnectionRetriableClient.java:67)
    at org.apache.oozie.client.OozieClient.createRetryableConnection(OozieClient.java:531)
    at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:581)
    ... 82 more
Caused by: AUTHENTICATION : Could not authenticate, Authentication failed, URL: http://catchy1.fyre.xxx.com:11000/oozie/v2/jobs?filter=status%3DPREP%3Bstatus%3DRUNNING%3Buser%3Dbigmatch&jobtype=coord&offset=1&len=100&user.name=bigmatch, status: 401, message: Unauthorized
    at org.apache.oozie.client.AuthOozieClient.createConnection(AuthOozieClient.java:187)
    at org.apache.oozie.client.OozieClient$1.doExecute(OozieClient.java:528)
    at org.apache.oozie.client.retry.ConnectionRetriableClient.execute(ConnectionRetriableClient.java:44)
    ... 84 more
Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, URL: http://catchy1.fyre.xxx.com:11000/oozie/v2/jobs?filter=status%3DPREP%3Bstatus%3DRUNNING%3Buser%3Dbigmatch&jobtype=coord&offset=1&len=100&user.name=bigmatch, status: 401, message: Unauthorized
    at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:401)
    at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:74)
    at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:348)
    at org.apache.oozie.client.AuthOozieClient.createConnection(AuthOozieClient.java:175)

0 个答案:

没有答案
相关问题