Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

A yarn job failing with exception exception [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled. Available:[TOKEN]] --Resolved

A yarn job failing with exception exception [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled. Available:[TOKEN]] --Resolved

New Contributor

I'm trying to run a Yarn-MR job in new HDP 2.4.x cluster, but it has been failing with 'SIMPLE authentication is not enabled' exception. But other Yarn-MR jobs are running fine in this new cluster. Yarn log shows[1], first 3 applications were Auth successful with auth:SIMPLE, but it failing for this job that I'm trying to migrate. Any idea what is going wrong with this job ? Thank you, Bikrant

[1]
2016-04-11 22:07:36,950 INFO  ipc.Server (Server.java:saslProcess(1386)) - Auth successful for appattempt_1459816898015_0046_000001 (auth:SIMPLE) 
2016-04-11 22:11:00,421 INFO  ipc.Server (Server.java:saslProcess(1386)) - Auth successful for appattempt_1459816898015_0047_000001 (auth:SIMPLE)
2016-04-11 22:13:01,178 INFO  ipc.Server (Server.java:saslProcess(1386)) - Auth successful for appattempt_1459816898015_0048_000001 (auth:SIMPLE) 


2016-04-11 22:17:47,373 INFO  ipc.Server (Server.java:doRead(850)) - Socket Reader #1 for port 8030: readAndProcess from client 10.193.64.154 threw exception [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.  Available:[TOKEN]]
org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.  Available:[TOKEN]
        at org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1634)
        at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1590)
        at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:841)
        at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:707)
        at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:678)
2 REPLIES 2

Re: A yarn job failing with exception exception [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled. Available:[TOKEN]] --Resolved

New Contributor

It was a miss-configured application, it should be talking to default yarn application port 8032 instead of 8030.

Re: A yarn job failing with exception exception [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled. Available:[TOKEN]] --Resolved

Super Guru

@Bikrant Neupane is your issue resolved?

Don't have an account?
Coming from Hortonworks? Activate your account here