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

Steve Loughran commented on YARN-2689:
--------------------------------------

After fix ZK comes up registry not playing nice, permissions?
{code}
testUserZookeeperHomePathAccess(org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations)
  Time elapsed: 1.067 s
ec  <<< ERROR!
org.apache.hadoop.service.ServiceStateException: 
org.apache.hadoop.registry.client.exceptions.AuthenticationFailedExcept
ion: `/registry': Authentication Failed: 
org.apache.zookeeper.KeeperException$AuthFailedException: KeeperErrorCode = Aut
hFailed for /registry: KeeperErrorCode = AuthFailed for /registry
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:123)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:688)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:672)
        at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:668)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:453)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:443)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:423)
        at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:44)
        at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.zkMkPath(CuratorService.java:544)
        at 
org.apache.hadoop.registry.client.impl.zk.CuratorService.maybeCreate(CuratorService.java:431)
        at 
org.apache.hadoop.registry.server.services.RegistryAdminService.createRootRegistryPaths(RegistryAdminService.
java:246)
        at 
org.apache.hadoop.registry.server.services.RegistryAdminService.serviceStart(RegistryAdminService.java:215)
        at 
org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
        at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations$1.run(TestSecureRMRegistryOperations.java:10
5)
        at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations$1.run(TestSecureRMRegistryOperations.java:97
)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
        at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations.startRMRegistryOperations(TestSecureRMRegist
ryOperations.java:96)
        at 
org.apache.hadoop.registry.secure.TestSecureRMRegistryOperations.testUserZookeeperHomePathAccess(TestSecureRM
RegistryOperations.java:226)

{code}

> TestSecureRMRegistryOperations failing on windows
> -------------------------------------------------
>
>                 Key: YARN-2689
>                 URL: https://issues.apache.org/jira/browse/YARN-2689
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api, resourcemanager
>    Affects Versions: 2.6.0
>         Environment: Windows server, Java 7, ZK 3.4.6
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> the micro ZK service used in the {{TestSecureRMRegistryOperations}} test 
> doesnt start on windows, 
> {code}
> org.apache.hadoop.service.ServiceStateException: java.io.IOException: Could 
> not configure server because SASL configuration did not allow the  ZooKeeper 
> server to authenticate itself properly: 
> javax.security.auth.login.LoginException: Unable to obtain password from user
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to