FAQ
I have 2 node cdh4 installation and added 3 rd node recently. using cdh4
manager I configured 3rd node as Datanode first and then RegionManager for
HBase.
But it does not start and says Bad Node.
If just try to restart hbase then it gives following error. Please, advise.

+ export HBASE_CLASSPATH=/usr/share/cmf/lib/plugins/event-publish-4.0.4-shaded.jar
+ HBASE_CLASSPATH=/usr/share/cmf/lib/plugins/event-publish-4.0.4-shaded.jar
+ set -x
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER#g' /var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER/core-site.xml /var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER/hbase-site.xml /var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER/hdfs-site.xml
+ acquire_kerberos_tgt hbase.keytab
+ '[' -z hbase.keytab ']'
+ '[' -n '' ']'
+ '[' region_mover = regionserver ']'
+ '[' toggle_balancer = regionserver ']'
+ '[' '' '!=' '' ']'
+ exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/222-hbase-REGIONSERVER regionserver start
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.PlatformName
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.hadoop.util.PlatformName. Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/ipc/RemoteException
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.ipc.RemoteException
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedNov 1, '12 at 10:31p
activeNov 1, '12 at 10:31p
posts1
users1
websitecloudera.com
irc#hadoop

1 user in discussion

Hud: 1 post

People

Translate

site design / logo © 2022 Grokbase