From user-return-856-archive-asf-public=cust-asf.ponee.io@bookkeeper.apache.org Mon Oct 8 09:59:58 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D3CAC180652 for ; Mon, 8 Oct 2018 09:59:57 +0200 (CEST) Received: (qmail 17540 invoked by uid 500); 8 Oct 2018 07:59:56 -0000 Mailing-List: contact user-help@bookkeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bookkeeper.apache.org Delivered-To: mailing list user@bookkeeper.apache.org Received: (qmail 17529 invoked by uid 99); 8 Oct 2018 07:59:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2018 07:59:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1CDA9C5D73 for ; Mon, 8 Oct 2018 07:59:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.899 X-Spam-Level: *** X-Spam-Status: No, score=3.899 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZJu-w_FR_3N5 for ; Mon, 8 Oct 2018 07:59:55 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BE73B5F431 for ; Mon, 8 Oct 2018 07:59:54 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id d2-v6so15223753wro.7 for ; Mon, 08 Oct 2018 00:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=md1YwnGANgNqzVifCLSr3sCP1cL5tq6y6e4L21LDatU=; b=XrB7fkmD4BI/xASXhJnwVNkjscIZ6D02kbTxz4zFRpB77+bkR8RydR0YAZJEXgPY+W 8cN7rICMzL27cFYRlf+LGnQegUTV7SqlEqDArA3j7NFB9ww2UgQzcbPgT4zoD37jiMIe Vj6EpaMCtKZHFjRMUUNxUuaUbmZpmIXKqYRdWRRJVL5N/HWy5+lKmIUHRacAFgXQIz1P XGAUQF6P9ioiMKA3RX28rGtZS3LRaMCytsuzEYSeVB7r9htaDTCUQchpfYTssjGDv3vW mSuoRUE+Bgc9Vyuy+db/aZ45BJ02HDgh5Ipci+VeJrgb3RP3yPM1ImY2UAszqVYRW99X zldw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=md1YwnGANgNqzVifCLSr3sCP1cL5tq6y6e4L21LDatU=; b=RhhMqTN9kKDNTgd3xfO4a2pPVR4d0D3pvSUsjinA/bxWOnqM9rOhfG1qp/zsm3F7zd rkxykhwRTdzTmm+f2xJiPteEkFnIo+OcbQyg0HluICgAZkk1fxGleny5uudIyfDkS3YR EkmDcz5eIXRRHVn2F+WEO4CTCIdTa0Lyyja5Qn+Vce1hNtvT7f7lKXzWKpexT1g8quUt JvEqbm3kxpAdySE47rNGzAuu42xAWgPuDTbv+CMoYDwrvj4mRIwPCCeCB4RPJBnkWwE2 DAdzbDwF6CwFXrwkeBqT0jzItS8k81mpNKfXXXS4WvPRQmHjUZMsqUzx0lgC9IH0903h aG7g== X-Gm-Message-State: ABuFfohTif9rtCZaU18GXeIRrg+mPQFCI3bqJq4h30oteANJrXMnIcon AdMB0aWzq9eWRgY5MlC7C+fE+K2o+d+P5Qa2FTSePg== X-Google-Smtp-Source: ACcGV63rA7Ri7Zik+vbuaHAHPFCV4wAz2UaNLGX9NHnNGUUy3pVbe2zOsMElksgZJB0DsFgTkNEE8SQg8V+TG/gWxfc= X-Received: by 2002:adf:bbc3:: with SMTP id z3-v6mr15164134wrg.183.1538985588329; Mon, 08 Oct 2018 00:59:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sijie Guo Date: Mon, 8 Oct 2018 00:59:36 -0700 Message-ID: Subject: Re: Migrating from zkServers to metadataServiceURI To: user Content-Type: multipart/alternative; boundary="0000000000004e8ebe0577b301f5" --0000000000004e8ebe0577b301f5 Content-Type: text/plain; charset="UTF-8" On Sun, Oct 7, 2018 at 11:51 PM Enrico Olivelli wrote: > Hi, > I am going to migrate a bunch of applications from the deprecated > zkServers to metadataServiceURI. > I think that the change is not really straightforward. > why? the metadataServiceURI should be "zk://". For example, if your zkServers is "127.0.0.1:2181" and your ledgers root path is "/ledgers". The metadata service uri is "zk://127.0.0.1:2181/ledgers" > > Do you have any best practice for doing this change in configurations ? > > > > Enrico > --0000000000004e8ebe0577b301f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun= , Oct 7, 2018 at 11:51 PM Enrico Olivelli <eolivelli@gmail.com> wrote:
Hi,
I am going to migrate a bunch of applications from the deprecated
zkServers to metadataServiceURI.
I think that the change is not really straightforward.

why?

the metadataServiceURI should= be "zk://<zkServers><ledgersRootPath>".
For example, if your zkServers is "127.0.0.1:2181" and your ledgers root path is "/l= edgers".=C2=A0
The metadata service uri is "zk://127.0.0.1:2181/ledgers"
<= div>=C2=A0

Do you have any best practice for doing this change in configurations ?



Enrico
--0000000000004e8ebe0577b301f5--