- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
RM is getting down after enabling kerberos
- Labels:
-
Apache YARN
-
Kerberos
Created on
‎09-24-2020
09:10 AM
- last edited on
‎09-24-2020
10:49 AM
by
VidyaSargur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Friends
RM is getting down after enabling kerberos below is the error. Kind;y note i have already removed znode and tried to start RM but still getting down.
[zk: Host1(CONNECTED) 3] rmr /yarn-leader-election/yarn-cluster
Authentication is not valid : /yarn-leader-election/yarn-cluster
[zk: Host1(CONNECTED) 3] ls /yarn-leader-election
Authentication is not valid : /yarn-leader-election
[zk: Host1(CONNECTED) 4] addauth digest super:password
[zk: Host1(CONNECTED) 5] ls /yarn-leader-election
[]
[zk: Host1(CONNECTED) 2] rmr /yarn-leader-election/yarn-cluster
[zk: Host1(CONNECTED) 6] rmr /yarn-leader-election
[zk: Host1(CONNECTED) 7] ls /yarn-leader-election
Node does not exist: /yarn-leader-election
[zk: Host1(CONNECTED) 1] ls /yarn-leader-election/yarn-cluster
Node does not exist: /yarn-leader-election/yarn-cluster
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:998)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.Semaphore.acquire(Semaphore.java:312)
at org.apache.ranger.audit.provider.AuditProviderFactory$RangerAsyncAuditCleanup.run(AuditProviderFactory.java:495)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Couldn't create /yarn-leader-election/yarn-cluster
at org.apache.hadoop.ha.ActiveStandbyElector.ensureParentZNode(ActiveStandbyElector.java:361)
at org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService.serviceInit(ActiveStandbyElectorBasedElectorService.java:110)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
... 4 more
Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /yarn-leader-election/yarn-cluster
at org.apache.hadoop.yarn.server.resourcemanager.ActiveStandbyElectorBasedElectorService.serviceInit(ActiveStandbyElectorBasedElectorService.java:110)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
... 4 more
Caused by: org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /yarn-leader-election/yarn-cluster
at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
Created ‎09-25-2020 02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might be hitting a known bug with Java recent versions (OpenJDK 1.8u242 or JDK 11.0.6). TSB-394.
To resolve this issue, take the following action on all impacted nodes solved as appropriate for the environment.
- Edit java.security file located in the active JDK on the clusters.
- Add or alter sun.security.krb5.disableReferrals parameter, to ensure that the following is set to true:
sun.security.krb5.disableReferrals=true
Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎09-25-2020 01:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you regenerate the keytabs through Cloudare manager? That could resolve the problem if it doean't please revert with the error cêncountered?
Created ‎09-27-2020 10:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. I have already tried but still getting the same error.
