Hello folks,
I am trying to run a simulation with GridMix but the simulation fails
every time.
If I inspect the log I find the error with looks like this:
"Error:
*java.lang.ClassNotFoundException:
org.apache.hadoop.tools.rumen.ResourceUsageMetrics\n\tat*
java.net.URLClassLoader$1.run(URLClassLoader.java:366)\n\tat
java.net.URLClassLoader$1.run(URLClassLoader.java:355)\n\tat
java.security.AccessController.doPrivileged(Native Method)\n\tat
java.net.URLClassLoader.findClass(URLClassLoader.java:354)\n\tat
java.lang.ClassLoader.loadClass(ClassLoader.java:425)\n\tat
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\n\tat
java.lang.ClassLoader.loadClass(ClassLoader.java:358)\n\tat
java.lang.Class.getDeclaredConstructors0(Native Method)\n\tat
java.lang.Class.privateGetDeclaredConstructors(Class.java:2595)\n\tat
java.lang.Class.getConstructor0(Class.java:2895)\n\tat
java.lang.Class.getDeclaredConstructor(Class.java:2066)\n\tat
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:125)\n\tat
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:66)\n\tat
org.apache.hadoop.io.serializer.WritableSerialization$WritableDeserializer.deserialize(WritableSerialization.java:42)\n\tat
org.apache.hadoop.mapred.MapTask.getSplitDetails(MapTask.java:372)\n\tat
org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:751)\n\tat
org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)\n\tat
org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)\n\tat
java.security.AccessController.doPrivileged(Native Method)\n\tat
javax.security.auth.Subject.doAs(Subject.java:415)\n\tat
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656)\n\tat
org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)\n",
The error is pretty clear, but I have no idea how to fix it.
I run GridMix by command line with:
bin/hadoop jar share/hadoop/tools/lib/hadoop-gridmix-2.6.1.jar
iopath trace.json
Any hits ?
Cheers :)
Simone