{"record":{"id":"9f21f58b4ae23d7c","repo":"apache/hadoop","slug":"simulated-job-s-configuration-parameter-got-s","errorCode":null,"errorMessage":"Simulated job's configuration parameter '{}' got scaled to a value '{}' which exceeds the upper limit of '{}' defined for the simulated cluster by the key '{}'. To disable High-Ram feature emulation, set 'gridmix.highram-emulation.enable' to 'false'.","messagePattern":"Simulated job's configuration parameter '(.+?)' got scaled to a value '(.+?)' which exceeds the upper limit of '(.+?)' defined for the simulated cluster by the key '(.+?)'\\. To disable High-Ram feature emulation, set 'gridmix\\.highram-emulation\\.enable' to 'false'\\.","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/GridmixJob.java","lineNumber":282,"sourceCode":"  // valid\n  @SuppressWarnings(\"deprecation\")\n  private static boolean checkMemoryUpperLimits(String jobKey, String limitKey,  \n                                                Configuration conf, \n                                                boolean convertLimitToMB) {\n    if (conf.get(limitKey) != null) {\n      long limit = conf.getLong(limitKey, JobConf.DISABLED_MEMORY_LIMIT);\n      // scale only if the max memory limit is set.\n      if (limit >= 0) {\n        if (convertLimitToMB) {\n          limit /= (1024 * 1024); //Converting to MB\n        }\n        \n        long scaledConfigValue = \n               conf.getLong(jobKey, JobConf.DISABLED_MEMORY_LIMIT);\n        \n        // check now\n        if (scaledConfigValue > limit) {\n          throw new RuntimeException(\"Simulated job's configuration\" \n              + \" parameter '\" + jobKey + \"' got scaled to a value '\" \n              + scaledConfigValue + \"' which exceeds the upper limit of '\" \n              + limit + \"' defined for the simulated cluster by the key '\" \n              + limitKey + \"'. To disable High-Ram feature emulation, set '\" \n              + GRIDMIX_HIGHRAM_EMULATION_ENABLE + \"' to 'false'.\");\n        }\n        return true;\n      }\n    }\n    return false;\n  }\n  \n  // Check if the parameter scaling does not exceed the cluster limits.\n  @SuppressWarnings(\"deprecation\")\n  private static void validateTaskMemoryLimits(Configuration conf, \n                        String jobKey, String clusterMaxKey) {\n    if (!checkMemoryUpperLimits(jobKey, \n        JobConf.UPPER_LIMIT_ON_TASK_VMEM_PROPERTY, conf, true)) {","sourceCodeStart":264,"sourceCodeEnd":300,"githubUrl":"https://github.com/apache/hadoop/blob/2add9630210752f88ceb1bb74eb65e37bf41da8e/hadoop-tools/hadoop-gridmix/src/main/java/org/apache/hadoop/mapred/gridmix/GridmixJob.java#L264-L300","documentation":"Error \"Simulated job's configuration parameter '{}' got scaled to a value '{}' which exceeds the upper limit of '{}' defined for the simulated cluster by the key '{}'. To disable High-Ram feature emulation, set 'gridmix.highram-emulation.enable' to 'false'.\" thrown in apache/hadoop.","triggerScenarios":"High-Ram emulation scales a job's memory configuration beyond the simulated cluster's configured maximum, so Gridmix refuses to submit the job unless high-ram emulation is disabled.","commonSituations":"See trigger scenarios.","solutions":["Lower the scaled memory parameter in the trace, raise the simulated cluster limit, or set gridmix.highram-emulation.enable=false."],"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"}