{"record":{"id":"1321dd621261cc76","repo":"apache/hadoop","slug":"still-not-started","errorCode":null,"errorMessage":"{} still not started","messagePattern":"(.+?) still not started","errorType":"exception","errorClass":"RetriableException","httpStatus":null,"severity":"error","filePath":"hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java","lineNumber":2374,"sourceCode":"    checkNNStartup();\n    namesystem.checkOperation(OperationCategory.WRITE);\n    CacheEntry cacheEntry = getCacheEntry();\n    if (cacheEntry != null && cacheEntry.isSuccess()) {\n      return; // Return previous response\n    }\n    boolean success = false;\n    try {\n      namesystem.removeXAttr(src, xAttr, cacheEntry != null);\n      success = true;\n    } finally {\n      RetryCache.setState(cacheEntry, success);\n    }\n  }\n\n  private void checkNNStartup() throws IOException {\n    if (!this.nn.isStarted()) {\n      String message = NameNode.composeNotStartedMessage(this.nn.getRole());\n      throw new RetriableException(message);\n    }\n  }\n\n  @Override // ClientProtocol\n  public void checkAccess(String path, FsAction mode) throws IOException {\n    checkNNStartup();\n    namesystem.checkAccess(path, mode);\n  }\n\n  @Override // ClientProtocol\n  public long getCurrentEditLogTxid() throws IOException {\n    String operationName = \"getCurrentEditLogTxid\";\n    checkNNStartup();\n    namesystem.checkOperation(OperationCategory.READ); // only active\n    namesystem.checkSuperuserPrivilege(operationName);\n    // if it's not yet open for write, we may be in the process of transitioning\n    // from standby to active and may not yet know what the latest committed\n    // txid is","sourceCodeStart":2356,"sourceCodeEnd":2392,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java#L2356-L2392","documentation":"Error \"{} still not started\" thrown in apache/hadoop.","triggerScenarios":"A request arrives for a NameNode component or role that has not completed startup.","commonSituations":"Sending RPCs immediately after NameNode process launch, before full initialization.","solutions":["Wait for the named service/role to finish starting before issuing requests to it."],"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"}