apache/hadoop · error · IllegalArgumentException
workload_replay_enable was specified; must include all requi
Error message
workload_replay_enable was specified; must include all required workload_ parameters.
What it means
Error "workload_replay_enable was specified; must include all required workload_ parameters." thrown in apache/hadoop.
Source
Thrown at hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra/src/main/java/org/apache/hadoop/tools/dynamometer/Client.java:480
this.tokenFileLocation = commandLine.
getOptionValue(TOKEN_FILE_LOCATION_ARG);
amOptions.verify();
Path blockPath = new Path(blockListPath);
FileSystem blockListFS = blockPath.getFileSystem(getConf());
if (blockListFS.getUri().equals(FileSystem.getLocal(getConf()).getUri())
|| !blockListFS.exists(blockPath)) {
throw new IllegalArgumentException(
"block list path must already exist on remote fs!");
}
numTotalDataNodes = blockListFS.listStatus(blockPath,
DynoConstants.BLOCK_LIST_FILE_FILTER).length;
if (commandLine.hasOption(WORKLOAD_REPLAY_ENABLE_ARG)) {
if (!commandLine.hasOption(WORKLOAD_INPUT_PATH_ARG)
|| !commandLine.hasOption(WORKLOAD_START_DELAY_ARG)) {
throw new IllegalArgumentException("workload_replay_enable was "
+ "specified; must include all required workload_ parameters.");
}
launchWorkloadJob = true;
workloadInputPath = commandLine.getOptionValue(WORKLOAD_INPUT_PATH_ARG);
workloadOutputPath = commandLine.getOptionValue(WORKLOAD_OUTPUT_PATH_ARG);
workloadThreadsPerMapper = Integer
.parseInt(commandLine.getOptionValue(WORKLOAD_THREADS_PER_MAPPER_ARG,
String.valueOf(AuditReplayMapper.NUM_THREADS_DEFAULT)));
workloadRateFactor = Double.parseDouble(commandLine.getOptionValue(
WORKLOAD_RATE_FACTOR_ARG, WORKLOAD_RATE_FACTOR_DEFAULT));
workloadExtraConfigs = new HashMap<>();
if (commandLine.getOptionValues(WORKLOAD_CONFIG_ARG) != null) {
for (String opt : commandLine.getOptionValues(WORKLOAD_CONFIG_ARG)) {
Iterator<String> kvPair =
Splitter.on("=").trimResults().split(opt).iterator();
workloadExtraConfigs.put(kvPair.next(), kvPair.next());
}
}View on GitHub (pinned to 2add963021)
Solutions
- When workload_replay_enable is set, also supply all required workload_* parameters (e.g. workload_input_path, workload_output_path, workload_job_class).
When it happens
Trigger: workload_replay_enable was set but one or more of the required workload_* parameters (audit trace input/output, thread count, start offset) is missing from the dynamometer Client invocation.
Common situations: See trigger scenarios.
AI-assisted analysis of apache/hadoop@2add963021 (2026-08-22).
Data as JSON: /api/errors/7d65b87e6dccb41a.
Report an issue: GitHub.