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 67470E06D for ; Fri, 11 Jan 2013 20:32:36 +0000 (UTC) Received: (qmail 10056 invoked by uid 500); 11 Jan 2013 20:32:34 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 9985 invoked by uid 500); 11 Jan 2013 20:32:34 -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 9977 invoked by uid 99); 11 Jan 2013 20:32:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 20:32:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 20:32:28 +0000 Received: by mail-oa0-f51.google.com with SMTP id n12so2192059oag.24 for ; Fri, 11 Jan 2013 12:32:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=nrYh8U2Ct6Eq5Q5KtxV+s+63VtBepv4BHfgmNHaWE8w=; b=MxVbr9mtAnbneTvokyU4WwRfPJ47WJj+OTak0Trc/5PLghSfQ00jcSFZ/4+1sFTRJS HmH6jPDjsHdSIv3I1IiPcRL7wOJcMwMoQXxGVHSPuezfUCoHRzJfm3ZtULCHkbkJFvE5 WCqy8juz70qwslPwkDSiQ4saCRIPebWikVjr3WJXuvGZi6sC33xg6km5SoKk0ndS9WN2 vz/9yzgIBNVOVBRaIEhdcjtJwi2KZpqNh+VZbp0ucvsyOu+3v+R9PzTk2Rj6Jc3Qn9LF QLDMYY4+ZvLuYlyLlcOIef9ctYCqgPzpOEsQjKhEMT2dHqsfg5d8BTVmQAymvyMPv2hA S7mA== MIME-Version: 1.0 Received: by 10.182.154.70 with SMTP id vm6mr57103973obb.50.1357936327607; Fri, 11 Jan 2013 12:32:07 -0800 (PST) Received: by 10.182.153.36 with HTTP; Fri, 11 Jan 2013 12:32:07 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Jan 2013 15:32:07 -0500 Message-ID: Subject: Re: Region status. From: Jean-Marc Spaggiari To: user@hbase.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmUAIO6tWUG9VYVsXjVbnvKAi2Q45aXW9jEeH/HxCht+ciADs26JZpYpFRkJADDhBfadS1T X-Virus-Checked: Checked by ClamAV on apache.org Thanks Ram. It was not for a test case, so I will try to find a different way to do what I need. JM 2013/1/10, ramkrishna vasudevan : > Hi Jean > > The region transition states are not exposed to the end user. > You can only know if the table is enabled, enabling, disabled or disabling. > > But if you want to do in any of your testcases then YES it is possible. > > Regards > Ram > > On Thu, Jan 10, 2013 at 7:42 PM, Jean-Marc Spaggiari < > jean-marc@spaggiari.org> wrote: > >> Hi, >> >> How can I get the status of a region? >> >> I mean, I have a HRegionInfo and I want to know if this region is >> opened, closed, opening, in transit, etc. How can I retreive this >> information? >> >> From the table I can get a fresh region info, but I'm not able to find >> the status into it. I just have "isOffline()". >> >> Thanks, >> >> JM >> >