You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by al...@apache.org on 2021/11/10 15:16:00 UTC

[accumulo] 01/01: fixes #2353: Update property name output

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

alerman pushed a commit to branch error-message-update-2353
in repository https://gitbox.apache.org/repos/asf/accumulo.git

commit 092b0a4938cf1580fdceee6035c0c93072438232
Author: Adam Lerman <al...@gmail.com>
AuthorDate: Wed Nov 10 10:15:49 2021 -0500

    fixes #2353: Update property name output
---
 .../java/org/apache/accumulo/core/spi/fs/PerTableVolumeChooser.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/spi/fs/PerTableVolumeChooser.java b/core/src/main/java/org/apache/accumulo/core/spi/fs/PerTableVolumeChooser.java
index ac9ab06..6f33b7d 100644
--- a/core/src/main/java/org/apache/accumulo/core/spi/fs/PerTableVolumeChooser.java
+++ b/core/src/main/java/org/apache/accumulo/core/spi/fs/PerTableVolumeChooser.java
@@ -21,6 +21,7 @@ package org.apache.accumulo.core.spi.fs;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 
+import org.apache.accumulo.core.conf.Property;
 import org.apache.accumulo.core.data.TableId;
 import org.apache.accumulo.core.spi.fs.VolumeChooserEnvironment.Scope;
 import org.slf4j.Logger;
@@ -111,7 +112,7 @@ public class PerTableVolumeChooser implements VolumeChooser {
 
       if (clazz == null || clazz.isEmpty()) {
         String msg =
-            "Property " + property + " or " + DEFAULT_SCOPED_VOLUME_CHOOSER + " must be a valid "
+            "Property " + Property.TABLE_ARBITRARY_PROP_PREFIX +  property + " or " + Property.GENERAL_ARBITRARY_PROP_PREFIX + DEFAULT_SCOPED_VOLUME_CHOOSER + " must be a valid "
                 + VolumeChooser.class.getSimpleName() + " to use the " + getClass().getSimpleName();
         throw new RuntimeException(msg);
       }