Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E6B411741 for ; Wed, 2 Jul 2014 15:10:26 +0000 (UTC) Received: (qmail 34344 invoked by uid 500); 2 Jul 2014 15:10:26 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 34314 invoked by uid 500); 2 Jul 2014 15:10:26 -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 34070 invoked by uid 99); 2 Jul 2014 15:10:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 15:10:26 +0000 Date: Wed, 2 Jul 2014 15:10:25 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2757) millions of zookeeper watches 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/ACCUMULO-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050012#comment-14050012 ] Eric Newton commented on ACCUMULO-2757: --------------------------------------- Over in ZOOKEEPER-1177, it is observed: bq. It seems a single watch takes about 100 bytes On a very large production cluster running 1.4, a 9 zookeeper quorum has 10-20M watches. This corresponds to 1-2.2M watches per node. 1.4 does not have table namespaces, but it has logger entries, which are watched. This cluster is large enough to run zookeepers on their own separate nodes. Presently they each have 48G JVMs. This could support at least ~40G for watches, which is 400M watches per node, or two orders of magnitude more than the observed number of watches. If accumulo wanted to support 1K tables per instance, that would increase the number of watches routinely set by clients and servers, and that would begin to approach the zookeeper limits. > millions of zookeeper watches > ----------------------------- > > Key: ACCUMULO-2757 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2757 > Project: Accumulo > Issue Type: Improvement > Components: client, master, tserver > Environment: very large clusters > Reporter: Eric Newton > Assignee: Eric Newton > > I recently learned how to get the number of watches in a zookeeper node. > {noformat} > $ echo wchp | nc localhost 2181 > {noformat} > There are a surprising number of watches supporting table configuration. A single tserver accumulo instance with one data table is using 872 watches. Large clusters, even with many zookeepers, can have millions of watches. > We may need to watch a single notification node, or serialize the table configs into a single node per table. That would accomplish ACCUMULO-1568, too. -- This message was sent by Atlassian JIRA (v6.2#6252)