[ 
https://issues.apache.org/jira/browse/YARN-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714326#comment-13714326
 ] 

Bikas Saha commented on YARN-945:
---------------------------------

Pasting comment from YARN-944 to this jira where its relevant.

By default resolve ip is set to true...
    boolean useIp = conf.getBoolean(
      CommonConfigurationKeys.HADOOP_SECURITY_TOKEN_SERVICE_USE_IP,
      CommonConfigurationKeys.HADOOP_SECURITY_TOKEN_SERVICE_USE_IP_DEFAULT);
    setTokenServiceUseIp(useIp);
can you try setting below parameter?
   <property>                                                                   
 
     <name>yarn.resourcemanager.scheduler.address</name>                        
 
     <value>localhost:54313</value>  <!-- your resource manager scheduler 
address -->                                            
     <description>host is the hostname of the resourcemanager and port is the 
port
       on which the Applications in the cluster talk to the Resource Manager.   
 
     </description>                                                             
 
   </property>
I don't know whether we need to fix this..
                
> AM register failing after AMRMToken
> -----------------------------------
>
>                 Key: YARN-945
>                 URL: https://issues.apache.org/jira/browse/YARN-945
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: nm.log, rm.log, yarn-site.xml
>
>
> 509 2013-07-19 15:53:55,569 INFO org.apache.hadoop.ipc.Server: IPC Server 
> listener on 54313: readAndProcess from client 127.0.0.1       threw exception 
> [org.apache.hadoop.security.AccessControlException: SIMPLE authentication is 
> not enabled.  Available:[TOKEN]]
> 510 org.apache.hadoop.security.AccessControlException: SIMPLE authentication 
> is not enabled.  Available:[TOKEN]
> 511   at 
> org.apache.hadoop.ipc.Server$Connection.initializeAuthContext(Server.java:1531)
> 512   at 
> org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1482)
> 513   at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:788)
> 514   at 
> org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:587)
> 515   at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:562)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to