FAQ
Hi,

I updated to 0.21.0 and have the problem with following error message (see
log attached):

2011-01-14 16:18:00,241 ERROR
org.apache.hadoop.hdfs.server.datanode.DataNode:
java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
at
org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1377)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1407)
at
org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1552)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 3 more

I started hadoop/bin/start-dfs.sh before, log is from one of the nodes.

Classpath seems to be ok (see log please). Can somebody help ?

Thank you very much,

Alexander

Search Discussions

  • Alexander Rutkowski at Jan 17, 2011 at 9:50 am
    Hi,

    I updated to 0.21.0 and have the problem with following error message (see
    log attached):

    2011-01-14 16:18:00,241 ERROR
    org.apache.hadoop.hdfs.server.datanode.DataNode:
    java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
    at
    org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:1377)
    at
    org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:1407)
    at
    org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:1552)
    Caused by: java.lang.ClassNotFoundException:
    org.apache.commons.cli.ParseException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 3 more

    I started hadoop/bin/start-dfs.sh before, log is from one of the nodes.

    Classpath seems to be ok (see log please). Can somebody help ?

    Thank you very much,

    Alexander

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedJan 14, '11 at 5:02p
activeJan 17, '11 at 9:50a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Alexander Rutkowski: 2 posts

People

Translate

site design / logo © 2021 Grokbase