{"record":{"id":"1ca84e48e51811a8","repo":"apache/hadoop","slug":"trying-to-deletehistory-non-existing-recurring-pip","errorCode":null,"errorMessage":"Trying to deleteHistory non-existing recurring pipeline  ${recurrenceId}'s resource skylines","messagePattern":"Trying to deleteHistory non-existing recurring pipeline  (.+?)'s resource skylines","errorType":"exception","errorClass":"RecurrenceIdNotFoundException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/impl/InMemoryStore.java","lineNumber":151,"sourceCode":"      writeLock.unlock();\n    }\n  }\n\n  @Override public final void deleteHistory(final RecurrenceId recurrenceId)\n      throws SkylineStoreException {\n    inputValidator.validate(recurrenceId);\n    writeLock.lock();\n    try {\n      if (skylineStore.containsKey(recurrenceId)) {\n        skylineStore.remove(recurrenceId);\n        LOGGER.warn(\"Delete resource skylines for {}.\", recurrenceId);\n      } else {\n        StringBuilder errMsg = new StringBuilder();\n        errMsg.append(\n            \"Trying to deleteHistory non-existing recurring pipeline  \"\n                + recurrenceId + \"\\'s resource skylines\");\n        LOGGER.error(errMsg.toString());\n        throw new RecurrenceIdNotFoundException(errMsg.toString());\n      }\n    } finally {\n      writeLock.unlock();\n    }\n  }\n\n  @Override public final void updateHistory(final RecurrenceId recurrenceId,\n      final List<ResourceSkyline> resourceSkylines)\n      throws SkylineStoreException {\n    inputValidator.validate(recurrenceId, resourceSkylines);\n    writeLock.lock();\n    try {\n      if (skylineStore.containsKey(recurrenceId)) {\n        // remove the null elements in the resourceSkylines\n        List<ResourceSkyline> filteredInput = eliminateNull(resourceSkylines);\n        if (filteredInput.size() > 0) {\n          skylineStore.put(recurrenceId, filteredInput);\n          LOGGER.info(\"Successfully updateHistory resource skylines for {}.\",","sourceCodeStart":133,"sourceCodeEnd":169,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-resourceestimator/src/main/java/org/apache/hadoop/resourceestimator/skylinestore/impl/InMemoryStore.java#L133-L169","documentation":"Error \"Trying to deleteHistory non-existing recurring pipeline  ${recurrenceId}'s resource skylines\" thrown in apache/hadoop.","triggerScenarios":"deleteHistory is called for a recurrence id that has no stored resource skylines, so there is nothing to delete.","commonSituations":"See trigger scenarios.","solutions":["Only delete history for recurrence ids that exist; check the recurrence id before calling deleteHistory."],"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"}