hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to know regions in a RegionServer?
Date Thu, 28 Aug 2014 14:02:28 GMT
For 0.98, please take a look at this method in HTable:

  public NavigableMap<HRegionInfo, ServerName> getRegionLocations() throws
IOException {

Cheers


On Thu, Aug 28, 2014 at 6:18 AM, Guillermo Ortiz <konstt2000@gmail.com>
wrote:

> How could I know with Java which Regions are served for each RegionServer?
> I want to execute an parallel scan, one thread for each regionServer
> because I think that's better than one for region, or is it not??
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message