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 1E078200B74 for ; Thu, 18 Aug 2016 00:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 19418160AB5; Wed, 17 Aug 2016 22:39:22 +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 62B9F160A8C for ; Thu, 18 Aug 2016 00:39:21 +0200 (CEST) Received: (qmail 58698 invoked by uid 500); 17 Aug 2016 22:39:20 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 58684 invoked by uid 99); 17 Aug 2016 22:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Aug 2016 22:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7445E2C02A3 for ; Wed, 17 Aug 2016 22:39:20 +0000 (UTC) Date: Wed, 17 Aug 2016 22:39:20 +0000 (UTC) From: "Christopher Tubbs (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4407) Use zk chroot instead of instance id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 17 Aug 2016 22:39:22 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425526#comment-15425526 ] Christopher Tubbs commented on ACCUMULO-4407: --------------------------------------------- I'm not clear. Are you suggesting just changing our code to chroot to the instance ID, or are you suggesting changing the layout of the ZK /accumulo area, or both? It sounds like just the former, but driven by the fact that the layout is confusing. FWIW, I opened ACCUMULO-1719 awhile back because I found the layout unnecessarily confusing. That issue is a bit old now, but simplification of the layout could compliment the use of chroot (it'd certainly be easier to change the layout, without risking breakage, if we were using chroot). > Use zk chroot instead of instance id > ------------------------------------ > > Key: ACCUMULO-4407 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4407 > Project: Accumulo > Issue Type: Improvement > Components: core, zookeeper > Reporter: Mike Drob > Fix For: 2.0.0 > > > This is something I'd like to see considered for Accumulo 2.0. Probably can't move on it any sooner because it would break a lot of assumptions, but might be possible to make work in a backwards compatible way. > Currently we use instance id in zookeeper to allow for multiple installations sharing the same zk quorum. This is both a confusing amount of indirection and a headache for operators when they need to intervene because a uuid is not very human-memory friendly. > Instead, if we specify a chroot path then we can assume the given accumulo instance is the only one we will see. This will simplify a lot of APIs because in essence we will be combining the zk and instance id arguments into one thing. > I suspect that either we were not aware of zk chroot or it did not exist when we started, hence not using it. But there's not really any good excuses left today to avoid it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)