{"record":{"id":"9889dde8a5b85cda","repo":"apache/hadoop","slug":"input-configuration-not-recognized-trace-type-sho-9889dd","errorCode":null,"errorMessage":"Input configuration not recognized, trace type should be SLS, RUMEN, or SYNTH","messagePattern":"Input configuration not recognized, trace type should be SLS, RUMEN, or SYNTH","errorType":"exception","errorClass":"YarnException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/NMRunner.java","lineNumber":104,"sourceCode":"        SLSConfiguration.NM_RESOURCE_UTILIZATION_RATIO_DEFAULT);\n    // nm information (fetch from topology file, or from sls/rumen json file)\n    Set<SLSRunner.NodeDetails> nodeSet = null;\n    if (nodeFile.isEmpty()) {\n      for (String inputTrace : inputTraces) {\n        switch (inputType) {\n          case SLS:\n            nodeSet = SLSUtils.parseNodesFromSLSTrace(inputTrace);\n            break;\n          case RUMEN:\n            nodeSet = SLSUtils.parseNodesFromRumenTrace(inputTrace);\n            break;\n          case SYNTH:\n            stjp = new SynthTraceJobProducer(conf, new Path(inputTraces[0]));\n            nodeSet = SLSUtils.generateNodes(stjp.getNumNodes(),\n                stjp.getNumNodes()/stjp.getNodesPerRack());\n            break;\n          default:\n            throw new YarnException(\"Input configuration not recognized, \"\n                + \"trace type should be SLS, RUMEN, or SYNTH\");\n        }\n      }\n    } else {\n      nodeSet = SLSUtils.parseNodesFromNodeFile(nodeFile,\n          nodeManagerResource);\n    }\n\n    if (nodeSet == null || nodeSet.isEmpty()) {\n      throw new YarnException(\"No node! Please configure nodes.\");\n    }\n\n    SLSUtils.generateNodeTableMapping(nodeSet, tableMapping);\n\n    // create NM simulators\n    Random random = new Random();\n    Set<String> rackSet = ConcurrentHashMap.newKeySet();\n    int threadPoolSize = Math.max(this.threadPoolSize,","sourceCodeStart":86,"sourceCodeEnd":122,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/NMRunner.java#L86-L122","documentation":"Error \"Input configuration not recognized, trace type should be SLS, RUMEN, or SYNTH\" thrown in apache/hadoop.","triggerScenarios":"The SLS input configuration specifies a trace type other than SLS, RUMEN, or SYNTH, so the NM runner cannot interpret the input.","commonSituations":"See trigger scenarios.","solutions":["Set the NM input trace type to one of SLS, RUMEN, or SYNTH."],"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"}