title: YARN client authentication fails with SIMPLE authentication is not enabled. Available:[TOKEN]
body: <p>I've setup a simple local PHD 3.0 Hadoop cluster and followed the steps described in the <a href="https://spring.io/guides/gs/yarn-basic-single/" rel="nofollow noreferrer">Spring Yarn Basic Getting Started guide</a></p>
  
  <p>Running the app against my Hadoop cluster gives</p>
  
  <pre><code>org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.  Available:[TOKEN]
  </code></pre>
  
  <p>and the following stack trace in the YARN ResourceManager:</p>
  
  <pre><code>org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled.  Available:[TOKEN]
      at org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1554)
      at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1510)
      at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:762)
      at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:636)
      at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:607)
  </code></pre>
  
  <p>This is probably a very basic question.
  I'd like simply to run a YARN app test without setting up any authentication.</p>
  
  <p>As I understand, YARN does not allow SIMPLE client authentication:
  <a href="https://issues.apache.org/jira/browse/YARN-2156" rel="nofollow noreferrer">https://issues.apache.org/jira/browse/YARN-2156</a></p>
  
  <p>According to this question
  <a href="https://stackoverflow.com/questions/30651452/how-can-i-pass-a-kerberos-ticket-to-spring-yarn-application">How can I pass a Kerberos ticket to Spring Yarn application</a></p>
  
  <p>I might end up setting up a Kerberos authentication.</p>
  
  <p>Is there a way to run Spring YARN example without elaborate authentication setup?</p>