{"record":{"id":"75e5c45c2470764d","repo":"apache/hadoop","slug":"invalid-configuration-value-detected-for-s-75e5c4","errorCode":null,"errorMessage":"Invalid configuration value detected for %s","messagePattern":"Invalid configuration value detected for (.+?)","errorType":"validation","errorClass":"InvalidConfigurationValueException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/diagnostics/BooleanConfigurationBasicValidator.java","lineNumber":48,"sourceCode":"public class BooleanConfigurationBasicValidator extends ConfigurationBasicValidator<Boolean> {\n  private static final String TRUE = \"true\";\n  private static final String FALSE = \"false\";\n\n  public BooleanConfigurationBasicValidator(final String configKey, final boolean defaultVal, final boolean throwIfInvalid) {\n    super(configKey, defaultVal, throwIfInvalid);\n  }\n\n  public Boolean validate(final String configValue) throws InvalidConfigurationValueException {\n    Boolean result = super.validate(configValue);\n    if (result != null) {\n      return result;\n    }\n\n    if (configValue.equalsIgnoreCase(TRUE) || configValue.equalsIgnoreCase(FALSE)) {\n      return Boolean.valueOf(configValue);\n    }\n\n    throw new InvalidConfigurationValueException(getConfigKey());\n  }\n}\n","sourceCodeStart":30,"sourceCodeEnd":51,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/diagnostics/BooleanConfigurationBasicValidator.java#L30-L51","documentation":"Error \"Invalid configuration value detected for %s\" thrown in apache/hadoop.","triggerScenarios":"A boolean configuration property contains a non-boolean value when the ABFS driver validates configuration.","commonSituations":"See trigger scenarios.","solutions":["Set the named configuration key to 'true' or 'false'.","Remove stray whitespace or quotes around the value in the configuration file."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2add9630210752f88ceb1bb74eb65e37bf41da8e","analyzedAt":"2026-08-22T19:55:07.957Z","schemaVersion":2},"datasetVersion":"2026-08-23T01:17:44.959Z"}