[ https://issues.apache.org/jira/browse/HDFS-14825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka resolved HDFS-14825. ---------------------------------- Fix Version/s: 3.3.0 Hadoop Flags: Reviewed Resolution: Fixed Merged into trunk. Thank you [~tasanuma], [~soyamiyoshi], and [~xkrogen]. > [Dynamometer] Workload doesn't start unless an absolute path of Mapper class > given > ---------------------------------------------------------------------------------- > > Key: HDFS-14825 > URL: https://issues.apache.org/jira/browse/HDFS-14825 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Soya Miyoshi > Assignee: Takanobu Asanuma > Priority: Major > Fix For: 3.3.0 > > > When starting a workload by start-workload.sh, unless an absolute path of > Mapper is given, the workload doesn't start. > > {code:java} > $ 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 > {code} > results in > {code:java} > 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) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org