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 492D810564 for ; Fri, 28 Mar 2014 03:53:18 +0000 (UTC) Received: (qmail 60703 invoked by uid 500); 28 Mar 2014 03:53:14 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 60127 invoked by uid 500); 28 Mar 2014 03:53:12 -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 Delivered-To: moderator for user@hbase.apache.org Received: (qmail 93434 invoked by uid 99); 28 Mar 2014 03:03:36 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yu_libo@hotmail.com designates 65.55.34.80 as permitted sender) X-TMN: [rx/R9Y4H8hew+wnyzAf1GpQ8/RaWztxL] X-Originating-Email: [yu_libo@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_8d59cf84-3a48-4997-8071-c3bb0ea388ef_" From: Libo Yu To: Subject: HDFSBlocksDistribution.getBlockLocalityIndex Date: Thu, 27 Mar 2014 23:03:07 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 28 Mar 2014 03:03:07.0210 (UTC) FILETIME=[3E5C72A0:01CF4A32] X-Virus-Checked: Checked by ClamAV on apache.org --_8d59cf84-3a48-4997-8071-c3bb0ea388ef_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C If I use FSUtils. computeHDFSBlocksDistribution=2C I can get HDFSBlocksDistribution for a fil= e. If I call its getBlockLocalityIndex(String hostname)=2C does it return t= he locality index for the file or all files on the host? If the return is for the file=2C how to get locality index for all the regi= ons on the host? Thanks Libo = --_8d59cf84-3a48-4997-8071-c3bb0ea388ef_--