Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F99E174B5 for ; Tue, 1 Sep 2015 14:37:50 +0000 (UTC) Received: (qmail 21470 invoked by uid 500); 1 Sep 2015 14:37:47 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 21400 invoked by uid 500); 1 Sep 2015 14:37:47 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 21385 invoked by uid 99); 1 Sep 2015 14:37:47 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 14:37:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E0302C0C9B for ; Tue, 1 Sep 2015 14:37:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id S-ZSposI7HCX for ; Tue, 1 Sep 2015 14:37:38 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1285120647 for ; Tue, 1 Sep 2015 14:37:38 +0000 (UTC) Received: by qkct7 with SMTP id t7so42374585qkc.1 for ; Tue, 01 Sep 2015 07:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=gcM4hUQQeBUS0kJ1KMxIM/0UY2HYV3y+PCE9zNigqn8=; b=0+ywZdn6EizT8aV2GhvWvobTyX5QmXg7n1nTSVo6y1wnkVqgbR2+x5Z4z4PMHPgw3k RNRNuZ6MbVBHa6KZu1/OUQ+sYXl8j87f27jWeHhNFakB6rry9e4+7QShgUk/F1tsx/fz S1JnMSIUoneUFgfY1fV/6xw/p/SrFN7+JCd1TEohIQTarfNYw2nj/HwZUYRNFRg5baeF yN1krzaRLL1hmk8xi2mY0gbeOGNaumU1Ws4h0MMzAVfzrV7As/JkdlmpOZEWWb+yg3Qm 1FCgQodVpuc/vugYVnJXBtRZtCqdySm4CC12SNt7nMnzMQCxg/oNRWA8KITnXxkArMHz grpQ== MIME-Version: 1.0 X-Received: by 10.13.206.67 with SMTP id q64mr29172357ywd.154.1441118257214; Tue, 01 Sep 2015 07:37:37 -0700 (PDT) Received: by 10.37.210.197 with HTTP; Tue, 1 Sep 2015 07:37:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2015 07:37:37 -0700 Message-ID: Subject: Re: How to detect whether hbase cluster is up and ready for accepting requests. From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a114dafaccd0527051eb07d69 --001a114dafaccd0527051eb07d69 Content-Type: text/plain; charset=UTF-8 Looks like the link Samir shared is missing the following method: public Map getRegionsInTransition() { FYI On Tue, Sep 1, 2015 at 5:28 AM, Samir Ahmic wrote: > Hi, > Depending on your hbase version you can get ClusterStatus over api. > > https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/ClusterStatus.html > > Regards > Samir > > On Tue, Sep 1, 2015 at 2:03 PM, James Teng > wrote: > > > Just as mentioned in the subject, is there any api to detect whether > > cluster is up, all regions are opened and ready for requests? > > > > > > > > uknow. > > > --001a114dafaccd0527051eb07d69--