I was using 0.18.2 till and needed to upgrade to 0.19.0 for the JDBC
support. Strangely, I'm unable to get 0.19.0 to start up using exactly the
same configuration as the earlier version. Here's the error from the
namenode log file:
2009-02-01 22:16:13,775 ERROR
org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
org.apache.hadoop.dfs.DistributedFileSystem
at
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:720)
at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1362)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:56)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1379)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:215)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:120)
at org.apache.hadoop.fs.Trash.<init>(Trash.java:62)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:166)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.dfs.DistributedFileSystem
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:673)
at
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:718)
... 11 more
Does anyone have any idea about this?
Amandeep
Amandeep Khurana
Computer Science Graduate Student
University of California, Santa Cruz