{"record":{"id":"4129c7da82313d12","repo":"apache/hadoop","slug":"no-node-please-configure-nodes","errorCode":null,"errorMessage":"No node! Please configure nodes.","messagePattern":"No node! Please configure nodes\\.","errorType":"exception","errorClass":"YarnException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/NMRunner.java","lineNumber":114,"sourceCode":"            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,\n        SLSConfiguration.RUNNER_POOL_SIZE_DEFAULT);\n    ExecutorService executorService = Executors.\n        newFixedThreadPool(threadPoolSize);\n    for (SLSRunner.NodeDetails nodeDetails : nodeSet) {\n      executorService.submit(new Runnable() {\n        @Override public void run() {\n          try {\n            // we randomize the heartbeat start time from zero to 1 interval\n            NMSimulator nm = new NMSimulator();\n            Resource nmResource = nodeManagerResource;","sourceCodeStart":96,"sourceCodeEnd":132,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/NMRunner.java#L96-L132","documentation":"Error \"No node! Please configure nodes.\" thrown in apache/hadoop.","triggerScenarios":"The SLS simulation is started without any configured simulated nodes, so the NMRunner has no NodeManagers to launch.","commonSituations":"See trigger scenarios.","solutions":["Configure at least one node in the SLS node configuration (sls.nodes or the SYNTH node settings)."],"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-23T01:17:44.959Z"}