apache/hadoop · error · InvalidConfigurationValueException
Invalid configuration value detected for %s
Error message
Invalid configuration value detected for %s
What it means
Error "Invalid configuration value detected for %s" thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/diagnostics/IntegerConfigurationBasicValidator.java:58
public IntegerConfigurationBasicValidator(final int outlier, final int min, final int max,
final int defaultVal, final String configKey, final boolean throwIfInvalid) {
super(configKey, defaultVal, throwIfInvalid);
this.min = min;
this.max = max;
this.outlier = outlier;
}
public Integer validate(final String configValue) throws InvalidConfigurationValueException {
Integer result = super.validate(configValue);
if (result != null) {
return result;
}
try {
result = Integer.parseInt(configValue);
// throw an exception if a 'within bounds' value is missing
if (getThrowIfInvalid() && (result != outlier) && (result < this.min || result > this.max)) {
throw new InvalidConfigurationValueException(getConfigKey());
}
if (result == outlier) {
return result;
}
// set the value to the nearest bound if it's out of bounds
if (result < this.min) {
return this.min;
}
if (result > this.max) {
return this.max;
}
} catch (NumberFormatException ex) {
throw new InvalidConfigurationValueException(getConfigKey(), ex);
}
View on GitHub (pinned to 2add963021)
Solutions
- Set the named configuration key to a valid integer value.
- Check for units suffixes or non-numeric characters in the configured value.
When it happens
Trigger: An integer configuration property holds a non-numeric value when ABFS validates its settings.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/a958411244b572c6.
Report an issue: GitHub.