This is an automated email from the ASF dual-hosted git repository.

ddanielr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit ae96113e59627739f48f63d04d5a0a54b76c6635
Merge: ba3e886f48 8a724830c0
Author: Daniel Roberts ddanielr <[email protected]>
AuthorDate: Mon Oct 27 17:40:46 2025 +0000

    Merge branch '2.1'

 .../base/src/main/java/org/apache/accumulo/server/util/PropUtil.java | 3 ++-
 .../main/java/org/apache/accumulo/test/compaction/ErasureCodeIT.java | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --cc 
server/base/src/main/java/org/apache/accumulo/server/util/PropUtil.java
index 2a44764f3d,d5776a5850..e8c6ce3d7f
--- a/server/base/src/main/java/org/apache/accumulo/server/util/PropUtil.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/PropUtil.java
@@@ -80,11 -76,10 +80,12 @@@ public final class PropUtil 
            throw new IllegalArgumentException(
                "Unable to resolve classloader for context: " + 
prop.getValue());
          }
 +      } else if (propStoreKey instanceof ResourceGroupPropKey) {
 +        ResourceGroupPropUtil.validateResourceGroupProperty(prop.getKey(), 
prop.getValue());
        }
  
-       if (prop.getKey().equals(Property.TABLE_ERASURE_CODE_POLICY.getKey())) {
+       if (prop.getKey().equals(Property.TABLE_ERASURE_CODE_POLICY.getKey())
+           && !prop.getValue().isEmpty()) {
          var volumes = context.getVolumeManager().getVolumes();
          for (var volume : volumes) {
            if (volume.getFileSystem() instanceof DistributedFileSystem) {

Reply via email to