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

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

changing client-side session timeout from 5000 millis to 30s does nothing here 
-it's not the client side timeout having problems directly.

more likely is the in-VM test ZK cluster, picking up the default timeouts, is 
setting the upper limit. That code comes from Hadoop, which needs to be tested 
to see if that holds. If the Yarn registry code also fails with ZK 3.5.0-alpha, 
then its a broader (test -time) problem

> 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
>            Assignee: Steve Loughran
>
> 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