helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Sharma <va...@pinterest.com>
Subject Re: Specifying Bucket size when adding resource with IDEAL_STATE
Date Sat, 22 Nov 2014 19:26:03 GMT
How do I add a resource with an ideal state and buckets since my resource
has extremely large number of partitions ? I can't find an addResource call
in HelixAdmin to do the same ?

Thanks
Varun

On Fri, Nov 21, 2014 at 8:07 PM, Kanak Biscuitwala <kanak.b@hotmail.com>
wrote:

> Hi Varun,
>
> Adding a resource is equivalent to adding an ideal state. So if you just
> create your own initial ideal state and set it, you've effectively created
> a resource with the properties that you want.
>
> Kanak
>
> ________________________________
> > Date: Fri, 21 Nov 2014 17:08:36 -0800
> > Subject: Re: Specifying Bucket size when adding resource with IDEAL_STATE
> > From: varun@pinterest.com
> > To: user@helix.apache.org
> >
> > Or should I break this up into 2 calls - one to add the resource and
> > then another to set the ideal states ?
> >
> > On Fri, Nov 21, 2014 at 5:03 PM, Varun Sharma
> > <varun@pinterest.com<mailto:varun@pinterest.com>> wrote:
> > Looking at the HelixAdmin API - I do not see an API for adding a
> > resource with a particular IdealState and the number of buckets to use
> > (znodes).
> >
> > Thanks
> > Varun
> >
>
>

Mime
View raw message