Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
When starting a workload by start-workload.sh, unless an absolute path of Mapper is given, the workload doesn't start.
$ hadoop/tools/dynamometer/dynamometer-workload/bin/start-workload.sh - \ Dauditreplay.input-path=hdfs:///user/souya/input/audit \ -Dauditreplay.output-path=hdfs:///user/souya/results/ \ -Dauditreplay.num-threads=50 -Dauditreplay.log-start-time.ms=5 \ -nn_uri hdfs://namenode_address:port/ \ -mapper_class_name AuditReplayMapper
results in
SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Exception in thread "main" java.lang.ClassNotFoundException: Class org.apache.hadoop.tools.dynamometer.workloadgenerator.AuditReplayMapper not found at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2572) at org.apache.hadoop.tools.dynamometer.workloadgenerator.WorkloadDriver.getMapperClass(WorkloadDriver.java:183) at org.apache.hadoop.tools.dynamometer.workloadgenerator.WorkloadDriver.run(WorkloadDriver.java:127) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90) at org.apache.hadoop.tools.dynamometer.workloadgenerator.WorkloadDriver.main(WorkloadDriver.java:172)
Attachments
Issue Links
- links to