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 8775618A98 for ; Sun, 9 Aug 2015 03:12:49 +0000 (UTC) Received: (qmail 7825 invoked by uid 500); 9 Aug 2015 03:12:48 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 7759 invoked by uid 500); 9 Aug 2015 03:12:48 -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 Delivered-To: moderator for user@zookeeper.apache.org Received: (qmail 74778 invoked by uid 99); 7 Aug 2015 19:16:37 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=DvLHZZGOO9ozF0yXJBuejGkI9LjDrpKNMymS4TiX30o=; b=GjTsF5M69xnob5ZEJWw+w/GQBpJ4bI8XC8eBfoRlmEEcXgJYF/StSNjyupEvsfWQLj vVV2Lv9mM6/DZOT/C/DzFpra+rIgsmiuZeLWuRAZrknA0H1N7/+wldPBybwvz12wACa7 iIYVhoQcS3Eh5OlZf5o9uD9GuSXb0LlE1tvJFIHSGAD88kf1mHpcWgC9zxkdLe8/uiHw 0/CA0aWTLUnW+Jmz/oC5ITBacnSRtvP5xx3j0yx5TgSMaVmaSMvbXZhitVrLZgCHfWZO RJ0IwIFRiLGkEqKP8d7kpQygCK7svbhISGhGofaFQrq5CamGlRSXYSXfISeNR0eeCo5j bBsw== X-Gm-Message-State: ALoCoQkGIkfP/14LbboV+59vmGgh2qtW8szQDrETdohsWAl/KAruBVSJjdsl9xxxjRC/o+WHLiZZ MIME-Version: 1.0 X-Received: by 10.180.108.175 with SMTP id hl15mr10202270wib.1.1438974938872; Fri, 07 Aug 2015 12:15:38 -0700 (PDT) Date: Fri, 7 Aug 2015 12:15:38 -0700 Message-ID: Subject: Copy/Migrate old zookeeper znode/data to new zookeeper From: Yan Guo To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=e89a8f3ba55f1297a8051cbd766e --e89a8f3ba55f1297a8051cbd766e Content-Type: text/plain; charset=UTF-8 Hi Keepers: We have an old zookeeper 3-cluster quorum, with some permanent routing info stored in znodes/data. Now we are setting up another brand new 3-cluster quorum on a different data center, and we want to migrate the routing info to it. What's the best reliable way to do this? Will simply copy the transaction log do? Or better with snapshot? Or if there are some tools to extract data from old znodes and replay creation onto the new ones? Asked on SO too http://stackoverflow.com/questions/31861659/copy-migrate-old-zookeeper-znode-data-to-new-zookeeper Thanks! --e89a8f3ba55f1297a8051cbd766e--