-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified cluster.yaml to support num servers per group #5037
Conversation
Modified cluster.yaml to support specifying number servers per group for compactors, sservers, and tservers. This was supported previously, but the implementation was different and the information was not as tightly coupled in the yaml file. Closes apache#5032
Draft because I have not tested locally yet. |
I'm not sure what change |
core/src/main/java/org/apache/accumulo/core/conf/cluster/ClusterConfigParser.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are really nice. I only looked at the java code and java test in detail though. Did not look at the shell code changes in detail.
Would a 2.1 cluster.yaml file fail to parse w/ a clean message w/ these changes? |
I don't think the compactor/sserver/tserver sections would work. I can test with a 2.1 config and make sure a good error is thrown. |
tserver: | ||
default: | ||
- localhost | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also have a compaction-coordinator section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, scan servers and external compactions are optional and experimental in 2.1. This is a minimal config for 2.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally.
Specified different groups and number of servers per group.
stop and start commands worked.
Verified service counts via ./accumulo admin serviceStatus --noHosts
Modified cluster.yaml to support specifying number servers per group for compactors, sservers, and tservers. This was supported previously, but the implementation was different and the information was not as tightly coupled in the yaml file.
Closes #5032