Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 29C7A200BAC for ; Wed, 26 Oct 2016 10:23:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28426160AEE; Wed, 26 Oct 2016 08:23:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6EAED160ACA for ; Wed, 26 Oct 2016 10:23:00 +0200 (CEST) Received: (qmail 30110 invoked by uid 500); 26 Oct 2016 08:22:59 -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 30085 invoked by uid 99); 26 Oct 2016 08:22:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 08:22:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 13F722C1F56 for ; Wed, 26 Oct 2016 08:22:59 +0000 (UTC) Date: Wed, 26 Oct 2016 08:22:59 +0000 (UTC) From: "Rakesh Kumar Singh (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ZOOKEEPER-2556) peerType remains as "observer" in zoo.cfg even though we change the node from observer to participant runtime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Oct 2016 08:23:01 -0000 [ https://issues.apache.org/jira/browse/ZOOKEEPER-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh Kumar Singh updated ZOOKEEPER-2556: ------------------------------------------ Attachment: ZOOKEEPER-2556.patch Thanks. Changes are done. > peerType remains as "observer" in zoo.cfg even though we change the node from observer to participant runtime > ------------------------------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2556 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2556 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.5.1, 3.5.2 > Reporter: Rakesh Kumar Singh > Assignee: Rakesh Kumar Singh > Priority: Minor > Attachments: ZOOKEEPER-2556.patch, ZOOKEEPER-2556.patch, ZOOKEEPER-2556.patch > > > peerType remains as "observer" in zoo.cfg even though we change the node from observer to participant runtime > Steps to reproduce:- > 1. Start zookeeper in cluster with one node as observer by configuring > peerType=observer in zoo.cfg and server.2=10.18.219.50:2888:3888:observer;2181 > 2. Start the cluster > 3. start a client and change the node from observer to participant, the configuration related to peertype remained same though other things like clientport got from zoo.cfg > >reconfig -remove 2 -add 2=10.18.219.50:2888:3888:participant;2181 > We should either remove this parameter or update with correct node type at run time -- This message was sent by Atlassian JIRA (v6.3.4#6332)