Package org.apache.accumulo.core.conf
Class ConfigCheckUtil
- java.lang.Object
-
- org.apache.accumulo.core.conf.ConfigCheckUtil
-
public class ConfigCheckUtil extends Object
A utility class for validatingAccumuloConfiguration
instances.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigCheckUtil.ConfigCheckException
The exception thrown whenvalidate(Iterable)
fails.
-
Constructor Summary
Constructors Constructor Description ConfigCheckUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
validate(Iterable<Map.Entry<String,String>> entries)
Validates the given configuration entries.
-
-
-
Method Detail
-
validate
public static void validate(Iterable<Map.Entry<String,String>> entries)
Validates the given configuration entries. A valid configuration contains only valid properties (i.e., defined or otherwise valid) that are not prefixes and whose values are formatted correctly for their property types. A valid configuration also contains a value for propertyProperty.INSTANCE_ZK_TIMEOUT
within a valid range.- Parameters:
entries
- iterable through configuration keys and values- Throws:
ConfigCheckUtil.ConfigCheckException
- if a fatal configuration error is found
-
-