Agree core module needs clean up, tools and examples dont fit in there.
Dont think we can do this as part of 0.6.1, probably 0.6.2.  Created
Helix-85


On Tue, Apr 16, 2013 at 2:32 PM, Ming Fang <[email protected]> wrote:

> I also have an example that reads the ideal state from a JSON file
>
> https://github.com/mingfang/apache-helix/blob/master/helix-core/src/main/java/org/apache/helix/examples/ManualPlacementTest.java
>
> Btw, can we please move the examples out of the core module?
>
> Sent from my iPad
>
> On Apr 16, 2013, at 4:21 PM, "kishore gopalakrishna (JIRA)" <
> [email protected]> wrote:
>
> > kishore gopalakrishna created HELIX-84:
> > ------------------------------------------
> >
> >             Summary: Add example/documentation/recipe on how to generate
> idealstate programmatically
> >                 Key: HELIX-84
> >                 URL: https://issues.apache.org/jira/browse/HELIX-84
> >             Project: Apache Helix
> >          Issue Type: Improvement
> >            Reporter: kishore gopalakrishna
> >
> >
> > Currently the examples in Helix give the impression that idealstate of a
> resource can only be set using helix admin rebalance api. This is not true,
> Helix just provides few implementation of generating idealstate given a set
> of nodes and partitions. One is free to provide his own implementation.
> >
> > We need to provide examples and recipes for this.
> >
> > Here is a sample code
> >
> > http://pastebin.com/e2LXtq46
> >
> >
> > --
> > This message is automatically generated by JIRA.
> > If you think it was sent incorrectly, please contact your JIRA
> administrators
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>

Reply via email to