[kepler-dev] Hadoop problems

Viet Truong Xuan txviet26 at gmail.com
Sat Sep 27 05:33:48 PDT 2014


Dear all,

I'm trying to run the examples of Hadoop on Kepler 2.4, but get some
problems with it.
When I start the Hadoop service (with correct passwords as required) with:

*bin/start-hadoop.sh*
*The output is as the following and the worklows cannot be run:*

bin
bin=.
bin=/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin
starting namenode, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-namenode-quickstart.cloudera.out
cloudera at localhost's password:
localhost: starting datanode, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-datanode-quickstart.cloudera.out
cloudera at localhost's password:
localhost: starting secondarynamenode, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-secondarynamenode-quickstart.cloudera.out
localhost: Exception in thread "main" java.lang.NoClassDefFoundError:
com.sun.security.auth.UnixPrincipal
localhost:    at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:313)
localhost:    at java.lang.Class.initializeClass(libgcj.so.10)
localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:144)
localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:125)
localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:579)
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

Exception in thread "main" java.lang.NoClassDefFoundError:
com.sun.security.auth.UnixPrincipal
   at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:313)
   at java.lang.Class.initializeClass(libgcj.so.10)
   at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1953)
   at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1945)
   at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1807)
   at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:265)
   at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:146)
   at org.apache.hadoop.fs.FsShell.init(FsShell.java:85)
   at org.apache.hadoop.hdfs.tools.DFSAdmin.run(DFSAdmin.java:981)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:83)
   at org.apache.hadoop.hdfs.tools.DFSAdmin.main(DFSAdmin.java:1068)
starting jobtracker, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-jobtracker-quickstart.cloudera.out
cloudera at localhost's password:
localhost: starting tasktracker, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-tasktracker-quickstart.cloudera.out

If there are some body can give me a help?

Thanks,

Truong Xuan Viet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20140927/5ab74569/attachment.html>


More information about the Kepler-dev mailing list