You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Kanak Biscuitwala (JIRA)" <ji...@apache.org> on 2013/07/30 23:03:49 UTC

[jira] [Updated] (HELIX-149) Allow clients to pass in preferred placement strategies

     [ https://issues.apache.org/jira/browse/HELIX-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kanak Biscuitwala updated HELIX-149:
------------------------------------

    Attachment: 0001-HELIX-149-Allow-clients-to-pass-in-preferred-placeme.patch

The fix is attached.

The general approach is to define an interface through which clients can specify a node to assign to given properties of the replica (ReplicaPlacementScheme). I moved the existing scheme to a "default" implementation of this interface (DefaultPlacementScheme), so there is currently no net change.

Code review: https://reviews.apache.org/r/13031
                
> Allow clients to pass in preferred placement strategies
> -------------------------------------------------------
>
>                 Key: HELIX-149
>                 URL: https://issues.apache.org/jira/browse/HELIX-149
>             Project: Apache Helix
>          Issue Type: Improvement
>          Components: helix-core
>            Reporter: Kanak Biscuitwala
>            Assignee: Kanak Biscuitwala
>            Priority: Minor
>         Attachments: 0001-HELIX-149-Allow-clients-to-pass-in-preferred-placeme.patch
>
>
> It would be nice for the auto rebalancer to accept custom preferred placement techniques, i.e. given a replica and partition, which node should serve it?

--
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