{"record":{"id":"17a37a37c004aa69","repo":"apache/hadoop","slug":"could-not-start-curator-framework","errorCode":null,"errorMessage":"Could not start Curator Framework","messagePattern":"Could not start Curator Framework","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java","lineNumber":247,"sourceCode":"          .withConnectionTimeout(connectionTimeout)\n          .enableSSL(isSSLEnabled)\n          .withKeystore(keystoreLocation)\n          .withKeystorePassword(keystorePassword)\n          .withTruststore(truststoreLocation)\n          .withTruststorePassword(truststorePassword)\n          .create();\n    } catch (Exception ex) {\n      throw new RuntimeException(\"Could not Load ZK acls or auth: \" + ex, ex);\n    }\n  }\n\n  @Override\n  public void startThreads() throws IOException {\n    if (!isExternalClient) {\n      try {\n        zkClient.start();\n      } catch (Exception e) {\n        throw new IOException(\"Could not start Curator Framework\", e);\n      }\n    } else {\n      // If namespace parents are implicitly created, they won't have ACLs.\n      // So, let's explicitly create them.\n      CuratorFramework nullNsFw = zkClient.usingNamespace(null);\n      try {\n        String nameSpace = \"/\" + zkClient.getNamespace();\n        nullNsFw.create().creatingParentContainersIfNeeded().forPath(nameSpace);\n      } catch (KeeperException.NodeExistsException ignore) {\n        // We don't care if the znode already exists\n      } catch (Exception e) {\n        throw new IOException(\"Could not create namespace\", e);\n      }\n    }\n    try {\n      delTokSeqCounter = new SharedCount(zkClient, ZK_DTSM_SEQNUM_ROOT, 0);\n      if (delTokSeqCounter != null) {\n        delTokSeqCounter.start();","sourceCodeStart":229,"sourceCodeEnd":265,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java#L229-L265","documentation":"Error \"Could not start Curator Framework\" thrown in apache/hadoop.","triggerScenarios":"Thrown at hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/ZKDelegationTokenSecretManager.java:247 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["The Curator client could not connect to ZooKeeper. Verify hadoop.zk.address is correct, the ZK ensemble is reachable, and auth/ACL settings are valid; then restart the service."],"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-22T20:17:22.307Z"}