Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5282DFB26 for ; Mon, 2 Sep 2013 09:31:19 +0000 (UTC) Received: (qmail 21067 invoked by uid 500); 2 Sep 2013 09:31:18 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 20923 invoked by uid 500); 2 Sep 2013 09:31:17 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 20740 invoked by uid 500); 2 Sep 2013 09:31:16 -0000 Delivered-To: apmail-hadoop-zookeeper-user@hadoop.apache.org Received: (qmail 20737 invoked by uid 99); 2 Sep 2013 09:31:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 09:31:16 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Sep 2013 09:31:11 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VGQSr-00050D-HC for zookeeper-user@hadoop.apache.org; Mon, 02 Sep 2013 02:30:29 -0700 Date: Mon, 2 Sep 2013 02:30:29 -0700 (PDT) From: judesolomonc To: zookeeper-user@hadoop.apache.org Message-ID: <1378114229524-7579036.post@n2.nabble.com> In-Reply-To: References: <1377758773026-7579030.post@n2.nabble.com> Subject: Re: Zoo Keeper - The Beginning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Diego We are planning to use zookeeper for a server fail over condition. Which means when a server is down, the client should be able to connect and send request to an alternate configured. When going through the documentation, we found that zoo keeper helps in achieving this scenario. But we are not able to proceed with the setting up of server. When we start the server using the NIO connection factory given in the Zoo Keeper, the socket connection is created by the Zoo Keeper itself using the Client port. And once the server is up, how to use a client to communicate to the server with that port ? And in the server, how to read the request sent b the client ? Is there any exposed methods to get the data from the external client ? As far I have checked, the object used to create the connection is not exposed. So I am not able to use that object to receive the data from the client. Can you suggest me how to proceed for the above mentioned scenario ? Jude Solomon -- View this message in context: http://zookeeper-user.578899.n2.nabble.com/Zoo-Keeper-The-Beginning-tp7579030p7579036.html Sent from the zookeeper-user mailing list archive at Nabble.com.