|
|
Roshan Punnoose 2012-10-04, 21:48
Is there any documentation on using a custom Tablet Load Balancer? I want to make sure certain rows group onto the same tablet, and I "think" the right answer is to develop my own Tablet Load Balancer. Is that right? Thanks!
Roshan
-
Re: Tablet Load Balancer
Adam Fuchs 2012-10-04, 22:15
Roshan,
There's no way to make sure that multiple rows don't get split into multiple tablets. A custom load balancer would be able to make sure that a set of tablets are hosted together, but has no effect on choosing the split points. If you want to guarantee that multiple entries are kept together then you should put them in the same row. Alternatively, you could make your tablet sizes ridiculously large and manually choose your split points using the addSplits method, but it's usually easier to just put things into the same row.
Cheers, Adam On Thu, Oct 4, 2012 at 5:48 PM, Roshan Punnoose <[EMAIL PROTECTED]> wrote:
> Is there any documentation on using a custom Tablet Load Balancer? I want > to make sure certain rows group onto the same tablet, and I "think" the > right answer is to develop my own Tablet Load Balancer. Is that right? > Thanks! > > Roshan >
-
Re: Tablet Load Balancer
Roshan Punnoose 2012-10-04, 22:53
If I set the split points dynamically, is it possible to change those split points. Not just add. And then rebalance the cluster? On Oct 4, 2012 6:15 PM, "Adam Fuchs" <[EMAIL PROTECTED]> wrote:
> Roshan, > > There's no way to make sure that multiple rows don't get split into > multiple tablets. A custom load balancer would be able to make sure that a > set of tablets are hosted together, but has no effect on choosing the split > points. If you want to guarantee that multiple entries are kept together > then you should put them in the same row. Alternatively, you could make > your tablet sizes ridiculously large and manually choose your split points > using the addSplits method, but it's usually easier to just put things into > the same row. > > Cheers, > Adam > > > On Thu, Oct 4, 2012 at 5:48 PM, Roshan Punnoose <[EMAIL PROTECTED]> wrote: > >> Is there any documentation on using a custom Tablet Load Balancer? I want >> to make sure certain rows group onto the same tablet, and I "think" the >> right answer is to develop my own Tablet Load Balancer. Is that right? >> Thanks! >> >> Roshan >> > >
-
Re: Tablet Load Balancer
Adam Fuchs 2012-10-05, 01:00
Accumulo 1.4 supports dynamic tablet merging as well as splitting through the TableOperations API, and will rebalance automatically.
Adam On Oct 4, 2012 6:54 PM, "Roshan Punnoose" <[EMAIL PROTECTED]> wrote:
> If I set the split points dynamically, is it possible to change those > split points. Not just add. And then rebalance the cluster? > On Oct 4, 2012 6:15 PM, "Adam Fuchs" <[EMAIL PROTECTED]> wrote: > >> Roshan, >> >> There's no way to make sure that multiple rows don't get split into >> multiple tablets. A custom load balancer would be able to make sure that a >> set of tablets are hosted together, but has no effect on choosing the split >> points. If you want to guarantee that multiple entries are kept together >> then you should put them in the same row. Alternatively, you could make >> your tablet sizes ridiculously large and manually choose your split points >> using the addSplits method, but it's usually easier to just put things into >> the same row. >> >> Cheers, >> Adam >> >> >> On Thu, Oct 4, 2012 at 5:48 PM, Roshan Punnoose <[EMAIL PROTECTED]>wrote: >> >>> Is there any documentation on using a custom Tablet Load Balancer? I >>> want to make sure certain rows group onto the same tablet, and I "think" >>> the right answer is to develop my own Tablet Load Balancer. Is that right? >>> Thanks! >>> >>> Roshan >>> >> >>
|
|