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 A376AD29D for ; Fri, 19 Oct 2012 08:43:42 +0000 (UTC) Received: (qmail 33440 invoked by uid 500); 19 Oct 2012 08:43:40 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 33390 invoked by uid 500); 19 Oct 2012 08:43:40 -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 33365 invoked by uid 99); 19 Oct 2012 08:43:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 08:43:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of henry.jykim@gmail.com designates 209.85.220.41 as permitted sender) Received: from [209.85.220.41] (HELO mail-pa0-f41.google.com) (209.85.220.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 08:43:31 +0000 Received: by mail-pa0-f41.google.com with SMTP id fa10so231460pad.14 for ; Fri, 19 Oct 2012 01:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version:x-mailer; bh=pQV5RZokvGvBkUW9qG4EPKs9moCEIjJGTiHDEFBaxh0=; b=BMs9/j1+8ZV9LAtLpdM6v3xuk4V6vWqWAOCokoP8JHpViG6z+lVotKKn22aLUj/M7n +ghw2wOcM676gA/qDfBpDL0xLv2URf9RFD6PwXESYQVWRRDcFavA1YS8wbYghJdnNNFf hiKd/85HDzsBDovK5jpi+3xODZrAouBunEGt/xllbTTM1bBeudP77D+HRvTv9F+RCo4g EqOVvphUE+YIFAucK1C6Ddkv7lnY69HCD/6g7AyxF7IU3q8raJMuADUZ9+Sje3KLD+hK ecqKzq/MX2amseUAASCNs2J8zNcNu0+sM/UEa1ClsOCQ3QPDnpYUoMpITMQPs7MDCbY4 f1Bw== Received: by 10.68.125.133 with SMTP id mq5mr3214964pbb.138.1350636191431; Fri, 19 Oct 2012 01:43:11 -0700 (PDT) Received: from [192.168.162.80] ([211.32.146.42]) by mx.google.com with ESMTPS id op7sm912545pbc.52.2012.10.19.01.43.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2012 01:43:09 -0700 (PDT) From: Henry JunYoung KIM Content-Type: multipart/alternative; boundary="Apple-Mail=_9BB7BD99-378E-4C96-A56D-2C5D5A761C15" Subject: HRegionInfo returns empty values. Message-Id: Date: Fri, 19 Oct 2012 17:43:05 +0900 To: "user@hbase.apache.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_9BB7BD99-378E-4C96-A56D-2C5D5A761C15 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, hbase-users. To get a start-key and end-key from each region, I implemented simple = code like this.=20 HTable table =3D new HTable(admin.getConf(), = admin.getTableName()); NavigableMap locations =3D = table.getRegionLocations(); for (Map.Entry entry: = locations.entrySet()) { HRegionInfo info =3D entry.getKey(); =20 System.out.println("server : " + = entry.getValue().getHostname()); System.out.println("start : " + info.getStartKey().length); System.out.println("end : " + info.getEndKey().length); } but, this code returns=20 server : one-of-servers-name start : 0 end : 0 start-key and end-key is empty. nothing! data size is very strong. it's about 10,000. from integer 0 to integer 10,000. how could I get correct range of a region? thanks for your concerns.= --Apple-Mail=_9BB7BD99-378E-4C96-A56D-2C5D5A761C15--