-
Notifications
You must be signed in to change notification settings - Fork 698
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
SOLR-17019: ZkCli should create subpaths when necessary #1998
Conversation
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.
Do we need to worry about ACLs on these created znodes?
Good question! So zkCli.sh take the |
@@ -220,7 +220,7 @@ public void setClusterProperty(String propertyName, Object propertyValue) throws | |||
@SuppressWarnings({"rawtypes"}) | |||
Map properties = new LinkedHashMap(); | |||
properties.put(propertyName, propertyValue); | |||
client.create( | |||
client.makePath( |
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.
minor: this doesn't seem to need the change, given that it's a constant.
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.
This is what necessitated the change. the chroot
that the user is using might not exist yet.
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.
yep. wrote the comment and like 10 mins later...oh yeah... thanks for confirming :)
I don't know if this matters at all, but at some point, I'd like to see what |
Yeah, I'm not a fan of the separate utilities. One path for all this stuff would be much better. Anyways, this would need to be fixed either way. |
(cherry picked from commit 3ab1683)
(cherry picked from commit 3ab1683)
https://issues.apache.org/jira/browse/SOLR-17019