{"record":{"id":"bc850012791dc53a","repo":"apache/hadoop","slug":"internal-error-bc8500","errorCode":null,"errorMessage":"Internal error","messagePattern":"Internal error","errorType":"exception","errorClass":"IOException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java","lineNumber":248,"sourceCode":"    }\n  }\n\n  // Launch Input/DistCache Data Generation job and wait for completion\n  void launchGridmixJob(GridmixJob job)\n      throws IOException, InterruptedException {\n    submitter.add(job);\n\n    // TODO add listeners, use for job dependencies\n    try {\n      while (!job.isSubmitted()) {\n        try {\n            Thread.sleep(100); // sleep\n          } catch (InterruptedException ie) {}\n      }\n      // wait for completion\n      job.getJob().waitForCompletion(false);\n    } catch (ClassNotFoundException e) {\n      throw new IOException(\"Internal error\", e);\n    }\n    if (!job.getJob().isSuccessful()) {\n      throw new IOException(job.getJob().getJobName() + \" job failed!\");\n    }\n  }\n\n  /**\n   * Create an appropriate {@code JobStoryProducer} object for the\n   * given trace.\n   * \n   * @param traceIn the path to the trace file. The special path\n   * &quot;-&quot; denotes the standard input stream.\n   *\n   * @param conf the configuration to be used.\n   *\n   * @throws IOException if there was an error.\n   */\n  protected JobStoryProducer createJobStoryProducer(String traceIn,","sourceCodeStart":230,"sourceCodeEnd":266,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/Gridmix.java#L230-L266","documentation":"Error \"Internal error\" thrown in apache/hadoop.","triggerScenarios":"Gridmix's job factory returns an unknown job type that does not map to LOADJOB or SLEEPJOB, indicating an internal inconsistency in the job story being replayed.","commonSituations":"See trigger scenarios.","solutions":["Check the Gridmix logs for the underlying exception; this is a catch-all for unexpected failures during job submission."],"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"}