Comments (6)
@wmorgan6796 did you use the API create/delete resource?
For partition placement, change ResourceConfig does not work. It should be something in IdealState. You should update Ideal with the right partition number.
from helix.
I changed both the ideal state and the resource config
from helix.
@wmorgan6796 Is this cluster in normal state?
Means: 1) has a live controller
2) resource not disabled
3) cluster is not in maintenance mode
4) for WAGED rebalanced, not enough capacity for the cluster.
...
There are multiple cases can lead the partition not change. This requires some understand and debug with your controller log.
from helix.
Any update for this? @wmorgan6796
from helix.
Sorry I’ve been on leave for a bit and haven’t had time to come back to this.
but to answer the question:
Cluster was working
Cluster was not disabled, though we had disabled it before and after making the change.
Maintenance mode was not on in the cluster
There was plenty of capacity in the cluster.
from helix.
Interesting. I cannot reproduce it in my local. One possible situation could be you add/delete the same resource very close and almost same time. But the controller is busy with handling other notification.
Helix use selective update for the metadata:
- The delete will trigger a child change for ZK.
- The add will trigger another child change.
- But if these two operations are close. Then controller will see the child change event and when read data from ZK, the IS already added back. So controller thinks there is no change.
Even your number of partition has been changed, from ZK PoV, it is not data change and will not trigger refresh of data.
In this case, either you can create the resource with different name like add some version to differentiate resource. Or add logic to make sure participants start dropping partitions then create the new ones with same name.
from helix.
Related Issues (20)
- [Failed CI Test] testDifferentTasks(org.apache.helix.integration.task.TestIndependentTaskRebalancer) HOT 6
- State transition not performed with shortest distance HOT 3
- [Failed CI Test] afterTest(org.apache.helix.rest.server.TestPartitionAssignmentAPI) HOT 6
- Support Simple Greedy Rebalance Strategy
- upgrade jackson-databind to 2.12.7.1 HOT 1
- Fix PreferenceList Ordering Changes during Maintenance Mode
- Provide JDK 1.8 (backward) compatibility of helix components
- NPE Issues when we add a WAGED resource without instances against the resource tag
- [Failed CI Test] testAggregateMetrics(org.apache.helix.monitoring.mbeans.TestClusterAggregateMetrics) HOT 1
- [Failed CI Test] testEnqueueJobsThrottle(org.apache.helix.task.TestTaskCreateThrottling) HOT 1
- [Failed CI Test] testNodeSwap(org.apache.helix.integration.rebalancer.TestInstanceOperation) HOT 13
- [Failed CI Test] testResourceThrottle(org.apache.helix.integration.TestPartitionMovementThrottle) HOT 1
- Add an API endpoint to allow a participant to set the current state of a partition stuck in any state to ERROR.
- [Failed CI Test] testHappyPathExtOpZkCacheBaseDataAccessor(org.apache.helix.manager.zk.TestZkCacheAsyncOpSingleThread) HOT 2
- [Failed CI Test] testInconsistentStateEventProcessing(org.apache.helix.integration.spectator.TestRoutingTableProviderFromCurrentStates) HOT 6
- [Failed CI Test] testTargetedTaskTwoCurrentStates(org.apache.helix.integration.task.TestTaskSchedulingTwoCurrentStates) HOT 30
- MissingTopState metric unreported when replica is set to ANY_LIVEINSTANCE
- [MetaClient] LeaderElection client always use default value for session timeout.
- service-discovery-demo.sh run fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.