Question
Client can not authenticate via ( token, kerberos)
I am getting client can not communicate via ( token, kerberos) exception when I am trying to access yarn resource manager from java application.
As part of my requirement in my spark java application I need to check some other applications running or not. For this I am using YarnClient class when I try to access this method getting above mentioned exception.
Same working for me in my local system with kerberos authentication.
I am using Hadoop library classes only to authenticate. UsergroupInformation class



