Re: UDF compiling

2012-04-12 Thread Stephen Boesch
HI try adding the directory in which WordCount.class was placed to the -classpath 4/12 Barry, Sean F > I am trying to compiling a customized WordCount UDF but I get this cannot > find symbol error when I compile. And I'm not sure how to resolve this > issue. > > hduser@master:~> javac -classp

Re: UDF compiling

2012-04-12 Thread Harsh J
The right command for javac usage in your case is: javac -classpath /usr/lib/hadoop/hadoop-core-0.20.2-cdh3u3.jar:. WordCount.java You need "." for javac to find the other class files/sources within the same dir. On Fri, Apr 13, 2012 at 12:12 AM, Barry, Sean F wrote: > I am trying to compiling

UDF compiling

2012-04-12 Thread Barry, Sean F
I am trying to compiling a customized WordCount UDF but I get this cannot find symbol error when I compile. And I'm not sure how to resolve this issue. hduser@master:~> javac -classpath /usr/lib/hadoop/hadoop-core-0.20.2-cdh3u3.jar WordCount.java WordCount.java:24: error: cannot find symbol