Return-Path: X-Original-To: apmail-zookeeper-dev-archive@www.apache.org Delivered-To: apmail-zookeeper-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77A0A10A3C for ; Tue, 5 May 2015 11:17:00 +0000 (UTC) Received: (qmail 23848 invoked by uid 500); 5 May 2015 11:17:00 -0000 Delivered-To: apmail-zookeeper-dev-archive@zookeeper.apache.org Received: (qmail 23807 invoked by uid 500); 5 May 2015 11:17:00 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 23656 invoked by uid 99); 5 May 2015 11:17:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 11:17:00 +0000 Date: Tue, 5 May 2015 11:17:00 +0000 (UTC) From: "Ayappan (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-2181) Slider-Zookeeper integration testcase fails with Zookeeper-3.5.0-alpha version MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)