helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dafu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-84) Add example/documentation/recipe on how to generate idealstate programmatically
Date Wed, 17 Apr 2013 23:33:19 GMT

    [ https://issues.apache.org/jira/browse/HELIX-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634605#comment-13634605
] 

dafu commented on HELIX-84:
---------------------------

add an example for that: IdealStateBuilderExample

https://git-wip-us.apache.org/repos/asf?p=incubator-helix.git;a=commitdiff;h=0df98c2ba55dc90a7ed8e57847539dda05b29c93
                
> 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

Mime
View raw message