{"record":{"id":"5724234727c9d60b","repo":"apache/hadoop","slug":"the-value-for-fs-azure-delegation-token-provider","errorCode":null,"errorMessage":"The value for \\\"fs.azure.delegation.token.provider.type\\\" is not defined.","messagePattern":"The value for \\\\\"fs\\.azure\\.delegation\\.token\\.provider\\.type\\\\\" is not defined\\.","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/security/AbfsDelegationTokenManager.java","lineNumber":70,"sourceCode":"          LoggerFactory.getLogger(AbfsDelegationTokenManager.class);\n\n  /**\n   * Create the custom delegation token manager and call its\n   * {@link CustomDelegationTokenManager#initialize(Configuration)} method.\n   * @param conf configuration\n   * @throws IOException failure during initialization.\n   * @throws RuntimeException classloading problems.\n   */\n  public AbfsDelegationTokenManager(final Configuration conf) throws IOException {\n\n    Preconditions.checkNotNull(conf, \"conf\");\n\n    Class<? extends CustomDelegationTokenManager> customDelegationTokenMgrClass =\n            conf.getClass(ConfigurationKeys.FS_AZURE_DELEGATION_TOKEN_PROVIDER_TYPE, null,\n                    CustomDelegationTokenManager.class);\n\n    if (customDelegationTokenMgrClass == null) {\n      throw new IllegalArgumentException(\n              \"The value for \\\"fs.azure.delegation.token.provider.type\\\" is not defined.\");\n    }\n\n    CustomDelegationTokenManager customTokenMgr = ReflectionUtils\n            .newInstance(customDelegationTokenMgrClass, conf);\n    Preconditions.checkArgument(customTokenMgr != null,\n        \"Failed to initialize %s.\", customDelegationTokenMgrClass);\n    customTokenMgr.initialize(conf);\n    tokenManager = customTokenMgr;\n  }\n\n  /**\n   * Bind to a filesystem instance by passing the binding information down\n   * to any token manager which implements {@link BoundDTExtension}.\n   *\n   * This is not invoked before renew or cancel operations, but is guaranteed\n   * to be invoked before calls to {@link #getDelegationToken(String)}.\n   * @param fsURI URI of the filesystem.","sourceCodeStart":52,"sourceCodeEnd":88,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/security/AbfsDelegationTokenManager.java#L52-L88","documentation":"Error \"The value for \\\"fs.azure.delegation.token.provider.type\\\" is not defined.\" thrown in apache/hadoop.","triggerScenarios":"ABFS delegation token support is enabled but the provider type configuration key is missing.","commonSituations":"See trigger scenarios.","solutions":["Set fs.azure.delegation.token.provider.type to a valid provider class when delegation tokens are enabled.","If delegation tokens are not needed, disable the feature instead of leaving the type undefined."],"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"}