Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 060871089E for ; Sun, 23 Jun 2013 04:41:27 +0000 (UTC) Received: (qmail 26904 invoked by uid 500); 23 Jun 2013 04:41:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 26860 invoked by uid 500); 23 Jun 2013 04:41:22 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 26843 invoked by uid 99); 23 Jun 2013 04:41:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jun 2013 04:41:20 +0000 Date: Sun, 23 Jun 2013 04:41:20 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-7411) Use Netflix's Curator zookeeper library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-7411: ------------------------- Status: Patch Available (was: Open) > Use Netflix's Curator zookeeper library > --------------------------------------- > > Key: HBASE-7411 > URL: https://issues.apache.org/jira/browse/HBASE-7411 > Project: HBase > Issue Type: New Feature > Components: Zookeeper > Affects Versions: 0.95.2 > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.95.2 > > Attachments: 7411v2.txt, hbase-7411_v0.patch > > > We have mentioned using the Curator library (https://github.com/Netflix/curator) elsewhere but we can continue the discussion in this. > The advantages for the curator lib over ours are the recipes. We have very similar retrying mechanism, and we don't need much of the nice client-API layer. > We also have similar Listener interface, etc. > I think we can decide on one of the following options: > 1. Do not depend on curator. We have some of the recipes, and some custom recipes (ZKAssign, Leader election, etc already working, locks in HBASE-5991, etc). We can also copy / fork some code from there. > 2. Replace all of our zk usage / connection management to curator. We may keep the current set of API's as a thin wrapper. > 3. Use our own connection management / retry logic, and build a custom CuratorFramework implementation for the curator recipes. This will keep the current zk logic/code intact, and allow us to use curator-recipes as we see fit. > 4. Allow both curator and our zk layer to manage the connection. We will still have 1 connection, but 2 abstraction layers sharing it. This is the easiest to implement, but a freak show? > I have a patch for 4, and now prototyping 2 or 3 whichever will be less painful. > Related issues: > HBASE-5547 > HBASE-7305 > HBASE-7212 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira