Ошибка при подключении к серверу Oozie. Нет повторных попыток = 1. Исключение = Не удалось пройти проверку подлинности, проверка подлинности не удалась - PullRequest
0 голосов
/ 27 июня 2019

У меня есть кластер HDP 3.1 с поддержкой Kerberos, и я пытаюсь запустить некоторые задания из нашего веб-интерфейса. Jar-версия Hadoop-Auth - это hadoop-auth-3.1.1.3.1.0.0-78.jar и Версия Jar для Oozie-Client: 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.

Пожалуйста, дайте мне знать, если кто-нибудь сталкивался с подобной проблемой на HDP 3.1 с Kerberos. Мои рабочие места 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)
...