hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anisio Mendes Lacerda" <anis...@gmail.com>
Subject ERROR: org/apache/hadoop/conf/Configuration
Date Mon, 07 Apr 2008 21:09:37 GMT
Hi,

I am a new in hadoop and I am trying to execute the example found in:

hadoop-0.14.4/src/c++/libhdfs/make test

And the following error msg is returned:

./tests/test-libhdfs.sh
08/04/07 18:04:54 INFO dfs.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = apolo.latin.dcc.ufmg.br/***.***.***.**
STARTUP_MSG:   args = [-format]
************************************************************/
Re-format filesystem in /mnt/hd1/hadoop/dfs/name ? (Y or N) 08/04/07
18:04:54 INFO dfs.Storage: Storage directory /mnt/hd1/hadoop/dfs/name has
been successfully formatted.
08/04/07 18:04:54 INFO dfs.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at
apolo.latin.dcc.ufmg.br/***.***.***.**
************************************************************/
starting namenode, logging to
/mnt/hd1/hadoop/hadoop-0.14.4/logs/hadoop-hadoop-namenode-apolo.out
starting datanode, logging to
/mnt/hd1/hadoop/hadoop-0.14.4/logs/hadoop-hadoop-datanode-apolo.out
CLASSPATH=/mnt/hd1/hadoop/hadoop-0.14.4/conf:/mnt/hd1/hadoop/hadoop-0.14.4/conf:/mnt/hd1/hadoop/hadoop-0.14.4/conf:/mnt/hd1/hadoop/hadoop-0.14.4/conf:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/lib/tools.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/commons-cli-2.0-SNAPSHOT.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/commons-codec-1.3.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/commons-httpclient-3.0.1.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/commons-logging-1.0.4.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/commons-logging-api-1.0.4.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/jets3t-0.5.0.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/jetty-5.1.4.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/junit-3.8.1.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/log4j-1.2.13.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/servlet-api.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/xmlenc-0.52.jar:/mnt/hd1/hadoop/hadoop-0.14.4/lib/jsp-2.0/*.jar
LD_PRELOAD=/mnt/hd1/hadoop/hadoop-0.14.4/libhdfs/libhdfs.so
/mnt/hd1/hadoop/hadoop-0.14.4/libhdfs/hdfs_test
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/conf/Configuration
no datanode to stop
stopping namenode
exiting with 1
make: *** [test] Error 1

Someone knows which ENVIROMENT VARIABLE I must to set ( if this is the
problem?) ?

Thanks in advance,


-- 
[]s

Anisio Mendes Lacerda

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message