You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Chris K Wensel
unread,
Apr 29, 2009, 10:34:27 AM4/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to devaru, cascading-user
Try using the ant build file that the Cascading samples use, or use the snippet in the User Guide.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cascading-user
Hi,
Our problem got sorted. We had actually not included the package
statement in our Main.java
Thanks
Devika & Aruna
On Apr 29, 7:34 pm, Chris K Wensel <ch...@wensel.net> wrote:
> Try using the ant build file that the Cascading samples use, or use
> the snippet in the User Guide.
>