Hi, Bo Please add "TOPOLOGY_AWARE_ENABLED" : "true" to your clusterConfig and try again?
Thanks Lei On Tue, Feb 13, 2018 at 2:48 PM, Bo Liu <[email protected]> wrote: > Hi Helix Team, > > I am doing some test for the Helix topology > > The cluster configuration is: > DELAY_REBALANCE_DISABLE : "false"DELAY_REBALANCE_ENABLE : "true" > DELAY_REBALANCE_TIME : "100000"FAULT_ZONE_TYPE : "pg"TOPOLOGY : > "/az/pg/instance"allowParticipantAutoJoin : "true" > The test resource ideal state configuration is: > HELIX_ENABLED : "true"IDEAL_STATE_MODE : "AUTO_REBALANCE"M > IN_ACTIVE_REPLICAS : "1"NUM_PARTITIONS : "3"REBALANCER_CLASS_NAME : > "org.apache.helix.controller.rebalancer.DelayedAutoRebalancer"REBALANC > E_MODE : "FULL_AUTO"REBALANCE_STRATEGY : "org.apache.helix. > controller.rebalancer.strategy.CrushRebalanceStrategy"REPLICAS : "2" > STATE_MODEL_DEF_REF : "OnlineOffline"STATE_MODEL_FACTORY_NAME : "DEFAULT" > I have 3 hosts in the cluster. The DOMAIN fields for them are " > az=us-east-1c,pg=us-east-1c,instance=10.1.104.229_9090", " > az=us-east-1a,pg=us-east-1a,instance=10.1.28.25_9090" and " > az=us-east-1a,pg=us-east-1a,instance=10.1.28.29_9090"; > > Since both 10.1.28.25_9090 and 10.1.28.29_9090 have the same "pg" value, > I don't expect them to host replicas for the same partition. However, both > of them do host test_0 partition. > > I also tried to use FAULT_ZONE : "pg" and got no luck. Your input is > appreciated. > > -- > Best regards, > Bo > >
