hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wellington Chevreuil <wellington.chevre...@gmail.com>
Subject Re: Hadoop 0.23.1 installation
Date Fri, 02 Mar 2012 02:26:12 GMT
Hi,

can you tell us how are you trying to format your hdfs? As it´s a
NoClassDefFoundError, probably your hadoop lib is not on your
classpath.

Thanks,
Wellington.

2012/2/29 Marcos Ortiz <mlortiz@uci.cu>:
> On 03/01/2012 04:48 AM, raghavendhra rahul wrote:
>>
>> Hi,
>>       I tried to configure hadoop 0.23.1.I added all libs from share
>> folder to lib directory.But still i get the error while formating the
>> namenode
>>
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/hadoop/hdfs/server/namenode/NameNode
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.hadoop.hdfs.server.namenode.NameNode
>>    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>>    at java.security.AccessController.doPrivileged(Native Method)
>>    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>> Could not find the main class:
>> org.apache.hadoop.hdfs.server.namenode.NameNode. Program will exit.
>>
>>
>> Any help???
>
> Can you show us here your .conf files?
> core-site.xml
> mapred-site.xml
> hdfs-site.xml
>
> Which is your configuration for your conf/hadoop-env.sh?
>
> Regards
>
> --
> Marcos Luis Ortíz Valmaseda
>  Sr. Software Engineer (UCI)
>  http://marcosluis2186.posterous.com
>  http://postgresql.uci.cu/blog/38
>
>
>
> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE
> ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
> http://www.antiterroristas.cu
> http://justiciaparaloscinco.wordpress.com

Mime
View raw message