Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> 0.21.0 - Java Class Error

Copy link to this message
Re: 0.21.0 - Java Class Error
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.


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