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 58171200BEC for ; Thu, 29 Dec 2016 15:47:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 56B31160B2D; Thu, 29 Dec 2016 14:47:15 +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 9D5AF160B15 for ; Thu, 29 Dec 2016 15:47:14 +0100 (CET) Received: (qmail 32242 invoked by uid 500); 29 Dec 2016 14:47:13 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 32226 invoked by uid 99); 29 Dec 2016 14:47:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2016 14:47:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 85B361A0277 for ; Thu, 29 Dec 2016 14:47:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id zbC62n9exUJm for ; Thu, 29 Dec 2016 14:47:10 +0000 (UTC) Received: from mail-wj0-f171.google.com (mail-wj0-f171.google.com [209.85.210.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F04665F484 for ; Thu, 29 Dec 2016 14:47:09 +0000 (UTC) Received: by mail-wj0-f171.google.com with SMTP id sd9so174643833wjb.1 for ; Thu, 29 Dec 2016 06:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UoFfhMssMY0b2JTZY3+rceAPQk1wNpN/0L57xzvBBmI=; b=AuKfUGRSfYQ7cmBaAKlYtBoZo9W2QsDnAL2FQaOSu1NujsgJLVEk0fDdQ2NCl7mre3 WyDaguMReoV0Axot9nc5XLOKjSrltFVEDP3Qdc0sO0Y87NdOLkNSYSMzD7WLnZ852wri gfykcVwlSK2+7BgET7FAKRA6XbGJXYmqwMO85BFsJKoj3Oaya22/PBWBcABqY5q7t73h muFFG8ITdlwRQVq6ob7y9rEGCHPwzJLZhdyedSABBmBzPfVuV2pxQZOpGlcsWKaIdUKx +TMAVsHM6wRitVvQeVwVQgd2epyk8/AhVyTmCCYLNSHeW0DhD78W6fvDEDSnsEfSd3lb 9zDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UoFfhMssMY0b2JTZY3+rceAPQk1wNpN/0L57xzvBBmI=; b=ogocwplJB5xvzu17YEtVpt3SDnfIi+Vl1II8mbh8zYYve79kSUmDmlw6bT5zK/DvNy GmPeKGseXW18Wo/3+T843yAGFJDUCah150qif4WGoqgCvnO/DNqcEMNS36ZfZwndcBBz SejCCLRQBkbyZ1kRu5oNFk7K/kDxWhVflbB7+R0ZXaDHiOe7vWMjHIaR9ZFUo3bP5Kkl tWIrIWqsxUF+RIHj2BDIoGiZkHmYxwnwjOrIZysMYLclRfZ+CRCQSE+9mVlSDAVCHqsg jvlnLWU6NC/SJ+Rb6ginB9sAc8Rsd0ziMLwShgHBLhltuvyoZRsoawsu/ra9Lcm4LMnM m/qw== X-Gm-Message-State: AIkVDXLHN4FXfdl/OVd/8AuJ3KYNaOSM47in47DtVr0uiXHwIQeB2qG1HCQZYHtOCYmaap0MI9cUp9ZGvDJbzw== X-Received: by 10.195.11.229 with SMTP id el5mr44603276wjd.64.1483022816371; Thu, 29 Dec 2016 06:46:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.146.165 with HTTP; Thu, 29 Dec 2016 06:46:55 -0800 (PST) From: Lars George Date: Thu, 29 Dec 2016 15:46:55 +0100 Message-ID: Subject: update_all_config and masters To: "dev@hbase.apache.org" Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 29 Dec 2016 14:47:15 -0000 Hi, It seems that the update command is only iterating over the region servers: public void updateConfiguration() throws IOException { for (ServerName server : this.getClusterStatus().getServers()) { updateConfiguration(server); } } This leaves out the masters, which you have to trigger manually. In addition the real master name is hard to find, as the UI is stripping of the port and timestamp part. I had to use zk_dump to get the current master server name to send an explicit "update_config" to it. Should the "update_all_config" not include the masters? I would say so. Thoughts? Cheers, Lars