milleruntime commented on issue #1977:
URL: https://github.com/apache/accumulo/issues/1977#issuecomment-808515043
On the topic of setting config in the shell... why doesn't this work?
<pre>
root@uno> config -s
general.context.class.loader.factory=org.apache.accumulo.core.classloader.DefaultContextClassLoaderFactory
2021-03-26T17:12:20,561 [shell.Shell] ERROR:
org.apache.accumulo.core.util.BadArgumentException: Property cannot be modified
in zookeeper near index 10
config -s
general.context.class.loader.factory=org.apache.accumulo.core.classloader.DefaultContextClassLoaderFactory
^
</pre>
Looking at the validation code in
[Property](https://github.com/apache/accumulo/blob/0781550076f04d12716650fd64881d8b9d041afa/core/src/main/java/org/apache/accumulo/core/conf/Property.java#L1343),
only properties that start with "general.custom" can be modified with the
config command?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]