zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayappan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2181) Slider-Zookeeper integration testcase fails with Zookeeper-3.5.0-alpha version
Date Tue, 05 May 2015 11:17:00 GMT
Ayappan created ZOOKEEPER-2181:
----------------------------------

             Summary: Slider-Zookeeper integration testcase fails with Zookeeper-3.5.0-alpha
version
                 Key: ZOOKEEPER-2181
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2181
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: Ayappan


TestZKIntegration testcase in slider fails with zookeeper-3.5.0-alpha version. From the logs,
it came to know the state change went to LOST rather than CONNECTED while creating ZK path.
The above testcase passes with zookeeper-3.4.6. A slider jira SLIDER-862 is already opened
for this. But the problem seems to be with zookeeper-3.5.0-alpha.

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)

Mime
View raw message