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

Steve Loughran commented on SLIDER-862:
---------------------------------------

we haven't tested on the ZK alphas; interesting. 

that ZK integration code is not used to talk to the YARN registry; that's via 
apache curator and the dependency on ZK is picked up (transitively) from that. 
I think its probably good to keep the curator and ZK versions in sync. 

Even so, this is a sign of trouble -possibly a regression in ZK itself

> TestZKIntegration fails with Zookeeper 3.5.0-alpha
> --------------------------------------------------
>
>                 Key: SLIDER-862
>                 URL: https://issues.apache.org/jira/browse/SLIDER-862
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.70
>            Reporter: Ayappan
>
> TestZKIntegration fails after changing the pom.xml to use 
> zookeeper-3.5.0-alpha version
> Running org.apache.slider.common.tools.TestZKIntegration
> 2015-04-24 06:56:52,118 [Thread-2] INFO  services.MicroZookeeperService 
> (MicroZookeeperService.java:serviceStart(235)) - Starting Local Zookeeper 
> service
> 2015-04-24 06:56:52,299 [Thread-2] INFO  services.MicroZookeeperService 
> (MicroZookeeperService.java:serviceStart(241)) - In memory ZK started at 
> localhost:50577
> 2015-04-24 06:56:52,300 [Thread-2] INFO  test.MicroZKCluster 
> (MicroZKCluster.groovy:createCluster(53)) - Created Micro ZK cluster as 
> localhost:50577
> 2015-04-24 06:56:52,492 [Thread-2] INFO  imps.CuratorFrameworkImpl 
> (CuratorFrameworkImpl.java:start(223)) - Starting
> 2015-04-24 06:56:52,513 [Thread-2] DEBUG zk.ZKIntegration 
> (ZKIntegration.java:init(96)) - Binding ZK client to localhost:50577
> 2015-04-24 06:56:52,513 [Thread-2] INFO  zk.BlockingZKWatcher 
> (BlockingZKWatcher.java:waitForZKConnection(57)) - waiting for ZK event
> 2015-04-24 06:56:52,543 [Thread-2-EventThread] DEBUG zk.ZKIntegration 
> (ZKIntegration.java:process(178)) - WatchedEvent state:Expired type:None 
> path:null
> 2015-04-24 06:56:52,544 [Thread-2-EventThread] DEBUG zk.ZKIntegration 
> (ZKIntegration.java:maybeInit(191)) - initing
> 2015-04-24 06:56:52,544 [Thread-2-EventThread] DEBUG zk.ZKIntegration 
> (ZKIntegration.java:createPath(222)) - Creating ZK path /services
> 2015-04-24 06:56:52,545 [Thread-2-EventThread] INFO  
> state.ConnectionStateManager (ConnectionStateManager.java:postState(194)) - 
> State change: LOST
> 2015-04-24 06:56:52,546 [Thread-2-EventThread] WARN  curator.ConnectionState 
> (ConnectionState.java:handleExpiredSession(289)) - Session expired event 
> received
> 2015-04-24 06:56:52,548 [ConnectionStateManager-0] WARN  
> state.ConnectionStateManager (ConnectionStateManager.java:processEvents(212)) 
> - There are no ConnectionStateListeners registered.
> 2015-04-24 06:56:52,549 [NIOWorkerThread-1] WARN  server.NIOServerCnxn 
> (NIOServerCnxn.java:doIO(368)) - Unable to read additional data from client 
> sessionid 0x14ceb499c750000, likely client has closed socket
> 2015-04-24 06:56:52,550 [Thread-2-EventThread] ERROR zk.ZKIntegration 
> (ZKIntegration.java:process(182)) - Failed to init
> org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode 
> = Session expired for /services
>         at 
> org.apache.zookeeper.KeeperException.create(KeeperException.java:131)
>         at 
> org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>         at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1067)
>         at 
> org.apache.slider.core.zk.ZKIntegration.createPath(ZKIntegration.java:223)
>         at 
> org.apache.slider.core.zk.ZKIntegration.mkPath(ZKIntegration.java:242)
>         at 
> org.apache.slider.core.zk.ZKIntegration.maybeInit(ZKIntegration.java:193)
>         at 
> org.apache.slider.core.zk.ZKIntegration.process(ZKIntegration.java:180)
>         at 
> org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:539)
>         at 
> org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:515)
> 2015-04-24 06:56:52,550 [NIOWorkerThread-3] WARN  server.NIOServerCnxn 
> (NIOServerCnxn.java:doIO(368)) - Unable to read additional data from client 
> sessionid 0x14ceb499c750001, likely client has closed socket
> 2015-04-24 06:56:52,551 [Thread-2-EventThread] INFO  zk.BlockingZKWatcher 
> (BlockingZKWatcher.java:process(37)) - ZK binding callback received



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

Reply via email to