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/LongConfigurationBasicValidator.java:48
private final long max;
public LongConfigurationBasicValidator(final long min, final long max, final long defaultVal, final String configKey, final boolean throwIfInvalid) {
super(configKey, defaultVal, throwIfInvalid);
this.min = min;
this.max = max;
}
public Long validate(final String configValue) throws InvalidConfigurationValueException {
Long result = super.validate(configValue);
if (result != null) {
return result;
}
try {
result = Long.parseLong(configValue);
// throw an exception if a 'within bounds' value is missing
if (getThrowIfInvalid() && (result < this.min || result > this.max)) {
throw new InvalidConfigurationValueException(getConfigKey());
}
// set the value to the nearest bound if it's out of bounds
if (result < this.min) {
return this.min;
} else if (result > this.max) {
return this.max;
}
} catch (NumberFormatException ex) {
throw new InvalidConfigurationValueException(getConfigKey(), ex);
}
return result;
}
}
View on GitHub (pinned to 2add963021)
Solutions
- Set the named configuration key to a valid long integer value.
- Verify the value is within the long range and contains no illegal characters.
When it happens
Trigger: A long-typed configuration property holds an invalid value during ABFS configuration validation.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/ff467bd4ccd48976.
Report an issue: GitHub.