hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: How are split files distributed across Region servers?
Date Fri, 15 Aug 2014 18:46:10 GMT
H Jianshi,

Not sure to get your question.

Can I rephrase it?

So you have 10 regions, and each of those regions has 10 HFiles. Then you
run a major compaction on the table. Correct?

Then you will end up with:

reg1:[files:1]
reg2:[files:2]
reg3:[files:3]
...

Regions boundaries will not change. But each region will not have a single
underlaying file.

HTH,

JM


2014-08-15 1:53 GMT-04:00 Jianshi Huang <jianshi.huang@gmail.com>:

> Say I have 100 split files on 10 region servers, and I did a major compact.
>
> Will these split files be distributed like this:
> reg1: [splits 1,2,..,10]
> reg2: [splits 11,12,...,20]
> ...
>
> Or like this:
> reg1: [splits: 1, 11, 21, ... , 91]
> reg2: [splits: 2, 12, 22, ... , 92]
> ...
>
> And if I want to specify the locality and the stride of split files? How
> can I do it in HBase?
>
>
> --
> Jianshi Huang
>
> LinkedIn: jianshi
> Twitter: @jshuang
> Github & Blog: http://huangjs.github.com/
>

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