|
|
-
0.21.0 - Java Class Error
Witold Januszewski 2011-04-07, 20:24
To Whom It May Concern,
When trying to run Hadoop 0.21 with JDK 1.6_23 I get an error: java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName. The full error log is in the attached .png Can you help me? I'd be grateful. Yours faithfully, Witold Januszewski
-
Re: 0.21.0 - Java Class Error
Tom White 2011-04-08, 16:40
Hi Witold,
Is this on Windows? The scripts were re-structured after Hadoop 0.20, and looking at them now I notice that the cygwin path translation for the classpath seems to be missing. You could try adding the following line to the "if $cygwin" clause in bin/hadoop-config.sh:
CLASSPATH=`cygpath -p -w "$CLASSPATH"`
It's worth filing a bug for this too.
Cheers, Tom
On Thu, Apr 7, 2011 at 1:24 PM, Witold Januszewski <[EMAIL PROTECTED]> wrote: > To Whom It May Concern, > > When trying to run Hadoop 0.21 with JDK 1.6_23 I get an error: > java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName. > The full error log is in the attached .png > Can you help me? I'd be grateful. > > > Yours faithfully, > Witold Januszewski > > >
-
Re: 0.21.0 - Java Class Error
Witold Januszewski 2011-04-08, 19:14
Hi Tom,
Thanks for your anwser. Yet after adding the suggested line I get another bug (enclosed in .png).
Yes, it's Windows 7. I'm considering switching to Linux now :-) There's also a virtual machine with Hadoop provided by Yahoo!, but I don't know if I can install Mahout there. That's my goal actually - doing a collaborative filtering project with Mahout for my classes. The trouble is, I chose the technology and the project leader couldn't help me with it. Also the project topics were assigned individually. So if you offer me some more help I'd be grateful.
Best Wishes, Witold 2011/4/8 Tom White <[EMAIL PROTECTED]>
> Hi Witold, > > Is this on Windows? The scripts were re-structured after Hadoop 0.20, > and looking at them now I notice that the cygwin path translation for > the classpath seems to be missing. You could try adding the following > line to the "if $cygwin" clause in bin/hadoop-config.sh: > > CLASSPATH=`cygpath -p -w "$CLASSPATH"` > > It's worth filing a bug for this too. > > Cheers, > Tom > > On Thu, Apr 7, 2011 at 1:24 PM, Witold Januszewski <[EMAIL PROTECTED]> > wrote: > > To Whom It May Concern, > > > > When trying to run Hadoop 0.21 with JDK 1.6_23 I get an error: > > java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName. > > The full error log is in the attached .png > > Can you help me? I'd be grateful. > > > > > > Yours faithfully, > > Witold Januszewski > > > > > > >
|
|