devaru
未読、2009/04/29 4:27:052009/04/29投稿者に返信する場合はログインしてください
転送する場合はログインしてください
このグループ内のメッセージを削除する権限がありません
メールアドレスがこのグループでは匿名化されているか、メンバーのメールアドレスを表示する権限がないため、元のメッセージを表示できません
To: cascading-user、ch...@wensel.net
hi
we have tried to create a small application 'wordrep' using
cascading.
As per the instructions given for building on cascading site, we
unpacked the cascading-x.y.z.jar into a directory containing our
class
file, and then packed it back.
But it is showing the following errors when we run the jar
$ hadoop/bin/hadoop jar ./wordrep/build/wordrep.jar wordrep/data/
apache.200.txt
output_rep
java.lang.ClassNotFoundException: wordrep.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
"After Building the xml file, Main class is getting created in build/
classes instead of build/classes/wordrep"
Can anyone kindly provide the correct steps to do the same?
Thanks in advance
Devika & Aruna