dlmarion commented on code in PR #5781:
URL: https://github.com/apache/accumulo/pull/5781#discussion_r2261022744
##########
server/base/src/main/java/org/apache/accumulo/server/util/SystemPropUtil.java:
##########
@@ -89,8 +89,10 @@ private static String validateSystemProperty(ServerContext
context, SystemPropKe
log.trace("Encountered error setting zookeeper property", iae);
throw iae;
}
- if (Property.isValidTablePropertyKey(property)) {
- PropUtil.validateProperties(context, key, Map.of(property, value));
+ if (property.startsWith(Property.TABLE_PREFIX.getKey())) {
+ throw new IllegalArgumentException(
+ "Table property " + property + " cannot be set at the system level."
+ + " Set table properties at the namespace or table level.");
Review Comment:
Fixed this in 220b656
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]