helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanak Biscuitwala (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HELIX-271) ZkHelixAdmin#addResource() backward compatible problem
Date Wed, 13 Nov 2013 04:32:24 GMT

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

Kanak Biscuitwala updated HELIX-271:
------------------------------------

    Fix Version/s: 0.7.0-incubating

> ZkHelixAdmin#addResource() backward compatible problem
> ------------------------------------------------------
>
>                 Key: HELIX-271
>                 URL: https://issues.apache.org/jira/browse/HELIX-271
>             Project: Apache Helix
>          Issue Type: Bug
>            Reporter: Zhen Zhang
>            Assignee: Kanak Biscuitwala
>             Fix For: 0.7.0-incubating
>
>
> admin.addResource(DEFAULT_CLUSTER_NAME, RESOURCE, PARTITIONS, "LEADER_REPLICA", IdealStateModeProperty.AUTO_REBALANCE.toString());
> will throw:
> 0    [main] ERROR org.apache.helix.manager.zk.ZKHelixAdmin  - 
> java.lang.IllegalArgumentException: No enum const class org.apache.helix.model.IdealState$RebalanceMode.AUTO_REBALANCE
> 	at java.lang.Enum.valueOf(Enum.java:196)
> 	at org.apache.helix.model.IdealState$RebalanceMode.valueOf(IdealState.java:1)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:620)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:606)
> 	at org.apache.helix.manager.zk.ZKHelixAdmin.addResource(ZKHelixAdmin.java:580)
> 	at org.apache.helix.AppTest.init(AppTest.java:43)
> 	at org.apache.helix.AppTest.main(AppTest.java:211)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message