helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-98) clean up setting constraint api
Date Thu, 07 Nov 2013 12:14:27 GMT

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

Hudson commented on HELIX-98:
-----------------------------

FAILURE: Integrated in helix #1202 (See [https://builds.apache.org/job/helix/1202/])
[HELIX-98] clean up setting constraint api, [HELIX-246] Refactor scheduler task config to
comply with new rebalancer config and fix related scheduler task tests (kanak: rev 243f2adfa716bc704c3ad31cb4c66256f0b8fd5e)
* helix-core/src/test/java/org/apache/helix/integration/TestInvalidAutoIdealState.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/NewSemiAutoRebalancer.java
* helix-core/src/main/java/org/apache/helix/model/builder/StateConstraintItemBuilder.java
* helix-core/src/main/java/org/apache/helix/api/SemiAutoRebalancerConfig.java
* helix-core/src/main/java/org/apache/helix/controller/stages/StatsAggregationStage.java
* helix-core/src/main/java/org/apache/helix/api/ConstraintId.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/Rebalancer.java
* helix-core/src/main/java/org/apache/helix/api/ClusterConfig.java
* helix-core/src/main/java/org/apache/helix/manager/zk/DefaultSchedulerMessageHandlerFactory.java
* helix-core/src/test/java/org/apache/helix/integration/TestRenamePartition.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/NewConstraintBasedAssignment.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/NewAutoRebalancer.java
* helix-core/src/main/java/org/apache/helix/model/builder/MessageConstraintItemBuilder.java
* helix-core/src/main/java/org/apache/helix/participant/HelixCustomCodeRunner.java
* helix-core/src/main/java/org/apache/helix/controller/stages/NewBestPossibleStateCalcStage.java
* helix-core/src/main/java/org/apache/helix/api/ParticipantAccessor.java
* helix-core/src/main/java/org/apache/helix/api/Scope.java
* helix-core/src/main/java/org/apache/helix/controller/stages/RebalanceIdealStateStage.java
* helix-core/src/test/java/org/apache/helix/integration/TestAddStateModelFactoryAfterConnect.java
* helix-core/src/test/java/org/apache/helix/controller/stages/TestBestPossibleCalcStageCompatibility.java
* helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
* helix-core/src/main/java/org/apache/helix/api/CustomRebalancerConfig.java
* helix-core/src/test/java/org/apache/helix/controller/stages/BaseStageTest.java
* helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
* helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java
* helix-core/src/main/java/org/apache/helix/api/ClusterAccessor.java
* helix-core/src/main/java/org/apache/helix/model/IdealState.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/SemiAutoRebalancer.java
* helix-core/src/main/java/org/apache/helix/controller/stages/NewResourceComputationStage.java
* helix-core/src/main/java/org/apache/helix/api/PartitionId.java
* helix-core/src/main/java/org/apache/helix/util/RebalanceUtil.java
* helix-core/src/main/java/org/apache/helix/model/ExternalView.java
* helix-core/src/test/java/org/apache/helix/integration/TestAutoRebalance.java
* helix-core/src/main/java/org/apache/helix/api/Cluster.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/CustomRebalancer.java
* helix-core/src/test/java/org/apache/helix/controller/stages/TestResourceComputationStage.java
* helix-core/src/test/java/org/apache/helix/model/TestIdealState.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/ConstraintBasedAssignment.java
* helix-core/src/main/java/org/apache/helix/api/UserDefinedRebalancerConfig.java
* helix-core/src/main/java/org/apache/helix/api/RebalancerConfig.java
* helix-core/src/test/java/org/apache/helix/TestZKCallback.java
* helix-core/src/test/java/org/apache/helix/integration/TestZkReconnect.java
* helix-core/src/test/java/org/apache/helix/controller/strategy/TestNewAutoRebalanceStrategy.java
* helix-core/src/test/java/org/apache/helix/integration/TestStateTransitionTimeout.java
* helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java
* helix-core/src/main/java/org/apache/helix/controller/rebalancer/AutoRebalancer.java
* helix-core/src/main/java/org/apache/helix/model/builder/IdealStateBuilder.java
* helix-core/src/main/java/org/apache/helix/api/FullAutoRebalancerConfig.java
* helix-core/src/main/java/org/apache/helix/tools/ClusterSetup.java
* helix-core/src/main/java/org/apache/helix/model/builder/ClusterConstraintsBuilder.java
* helix-core/src/main/java/org/apache/helix/model/ClusterConstraints.java
* helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java
* helix-core/src/test/java/org/apache/helix/integration/TestAutoRebalancePartitionLimit.java
* helix-core/src/test/java/org/apache/helix/integration/TestCustomizedIdealStateRebalancer.java
* helix-core/src/test/java/org/apache/helix/manager/zk/TestZkHelixAdmin.java
* helix-core/src/test/java/org/apache/helix/controller/stages/TestCompatibilityCheckStage.java
* helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
* helix-core/src/test/java/org/apache/helix/manager/zk/TestZNRecordSizeLimit.java
* helix-core/src/main/java/org/apache/helix/controller/strategy/EspressoRelayStrategy.java


> clean up setting constraint api
> -------------------------------
>
>                 Key: HELIX-98
>                 URL: https://issues.apache.org/jira/browse/HELIX-98
>             Project: Apache Helix
>          Issue Type: Sub-task
>          Components: helix-core, helix-webapp-admin
>            Reporter: Zhen Zhang
>            Assignee: Kanak Biscuitwala
>             Fix For: 0.6.2-incubating
>
>
> currently setting constraint is doing through the following api:
> 1) constraint builder
> builder.addConstraintAttribute(key1, value1).addConstraintAttribute(key2, value2)....
> 2) add constraint to cluster
> admin.addConstraint(clusterName, constraintType, constraintId, constraint)
> will be better to have:
> 1) builder(id).forMsgType(msgType).forInstance(instanceName).setConstraint(contraintValue)
> 2) add constraint to cluster
> admin.addMsgConstraint(clusterName, constraint)



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

Mime
View raw message