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

Switch to Threaded View
Hadoop >> mail # user >> Setting up version 0.19.0


Copy link to this message
-
Re: Setting up version 0.19.0
from 0.19, package structure was changed.
DistributedFileSystem is no longer in org.apache.hadoop.dfs , it has been renamed to org.apache.hadoop.hdfs.

Check your sample config file in 0.19 branch conf/hadoop-default.xml, in particular for
<property>
  <name>fs.hdfs.impl</name>
  <value>org.apache.hadoop.hdfs.DistributedFileSystem</value>
  <description>The FileSystem for hdfs: uris.</description>
</property>
Thanks,
Lohit

----- Original Message ----
From: Amandeep Khurana <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Sunday, February 1, 2009 10:19:56 PM
Subject: Setting up version 0.19.0

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