FAQ
Hello,

Any help would be apprecaited with below Hbase start error from cloudera
manager.
There is no log info getting generated. The execption at the end of the
message is

Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
Caused by: java.lang.ClassNotFoundException: HotSpot(TM)

--------------------------------------------------


Supervisor returned FATAL: + echo 'using /usr/lib/hbase as HBASE_HOME'
+ echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HBASE_CONF_DIR'
+ echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HADOOP_CONF_DIR'
+ echo 'using /usr/lib/hadoop as HADOOP_HOME'
+ set_hbase_classpath
+ set_classpath_in_var HBASE_CLASSPATH
+ '[' -z HBASE_CLASSPATH ']'
+ '[' /usr/share/cmf ']'
++ find /usr/share/cmf/lib/plugins -name 'event-publish-*.jar'
++ tr -d '\n'
+ ADD_TO_CP=/usr/share/cmf/lib/plugins/event-publish-4.0.4-shaded.jar
+ eval 'OLD_VALUE=$HBASE_CLASSPATH'
++ OLD_VALUE=
+ '[' -z ']'
+ 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/764-hbase-MASTER
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/764-hbase-MASTER
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/764-hbase-MASTER#g' /var/run/cloudera-scm-agent/process/764-hbase-MASTER/core-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hbase-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hdfs-site.xml
+ acquire_kerberos_tgt hbase.keytab
+ '[' -z hbase.keytab ']'
+ '[' -n '' ']'
+ '[' region_mover = master ']'
+ '[' toggle_balancer = master ']'
+ '[' '' '!=' '' ']'
+ exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/764-hbase-MASTER master start
Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
Caused by: java.lang.ClassNotFoundException: HotSpot(TM)
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: HotSpot(TM). Program will exit.





----------------------



Thanks

Madhu

Search Discussions

  • Adam Smieszny at Apr 22, 2013 at 6:27 pm
    Can you send us the output if you run "java -version" at the console?

    Thanks,
    Adam

    On Mon, Apr 22, 2013 at 1:42 PM, Madhu M wrote:

    Hello,

    Any help would be apprecaited with below Hbase start error from cloudera
    manager.
    There is no log info getting generated. The execption at the end of the
    message is

    Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
    Caused by: java.lang.ClassNotFoundException: HotSpot(TM)

    --------------------------------------------------


    Supervisor returned FATAL: + echo 'using /usr/lib/hbase as HBASE_HOME'
    + echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HBASE_CONF_DIR'
    + echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HADOOP_CONF_DIR'
    + echo 'using /usr/lib/hadoop as HADOOP_HOME'
    + set_hbase_classpath
    + set_classpath_in_var HBASE_CLASSPATH
    + '[' -z HBASE_CLASSPATH ']'
    + '[' /usr/share/cmf ']'
    ++ find /usr/share/cmf/lib/plugins -name 'event-publish-*.jar'
    ++ tr -d '\n'
    + ADD_TO_CP=/usr/share/cmf/lib/plugins/event-publish-4.0.4-shaded.jar
    + eval 'OLD_VALUE=$HBASE_CLASSPATH'
    ++ OLD_VALUE=
    + '[' -z ']'
    + 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/764-hbase-MASTER
    + HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/764-hbase-MASTER
    + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/764-hbase-MASTER#g' /var/run/cloudera-scm-agent/process/764-hbase-MASTER/core-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hbase-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hdfs-site.xml
    + acquire_kerberos_tgt hbase.keytab
    + '[' -z hbase.keytab ']'
    + '[' -n '' ']'
    + '[' region_mover = master ']'
    + '[' toggle_balancer = master ']'
    + '[' '' '!=' '' ']'
    + exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/764-hbase-MASTER master start
    Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
    Caused by: java.lang.ClassNotFoundException: HotSpot(TM)
    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: HotSpot(TM). Program will exit.





    ----------------------



    Thanks

    Madhu

    --
    Adam Smieszny
    Cloudera | Systems Engineer | http://www.linkedin.com/in/adamsmieszny
    917.830.4156
  • Madhu Gmail at Apr 23, 2013 at 2:11 pm
    The issue is because of /tmp folder is out of space..

    After cleaning the /tmp, I am able to start the Hbase.

    Madhu Munagala
    (214)679-2872
    On Apr 22, 2013, at 1:27 PM, Adam Smieszny wrote:

    Can you send us the output if you run "java -version" at the console?

    Thanks,
    Adam

    On Mon, Apr 22, 2013 at 1:42 PM, Madhu M wrote:
    Hello,

    Any help would be apprecaited with below Hbase start error from cloudera manager.
    There is no log info getting generated. The execption at the end of the message is

    Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
    Caused by: java.lang.ClassNotFoundException: HotSpot(TM)

    --------------------------------------------------

    Supervisor returned FATAL: + echo 'using /usr/lib/hbase as HBASE_HOME'
    + echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HBASE_CONF_DIR'
    + echo 'using /var/run/cloudera-scm-agent/process/764-hbase-MASTER as HADOOP_CONF_DIR'
    + echo 'using /usr/lib/hadoop as HADOOP_HOME'
    + set_hbase_classpath
    + set_classpath_in_var HBASE_CLASSPATH
    + '[' -z HBASE_CLASSPATH ']'
    + '[' /usr/share/cmf ']'
    ++ find /usr/share/cmf/lib/plugins -name 'event-publish-*.jar'
    ++ tr -d '\n'
    + ADD_TO_CP=/usr/share/cmf/lib/plugins/event-publish-4.0.4-shaded.jar
    + eval 'OLD_VALUE=$HBASE_CLASSPATH'
    ++ OLD_VALUE=
    + '[' -z ']'
    + 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/764-hbase-MASTER
    + HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/764-hbase-MASTER
    + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/764-hbase-MASTER#g' /var/run/cloudera-scm-agent/process/764-hbase-MASTER/core-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hbase-site.xml /var/run/cloudera-scm-agent/process/764-hbase-MASTER/hdfs-site.xml
    + acquire_kerberos_tgt hbase.keytab
    + '[' -z hbase.keytab ']'
    + '[' -n '' ']'
    + '[' region_mover = master ']'
    + '[' toggle_balancer = master ']'
    + '[' '' '!=' '' ']'
    + exec /usr/lib/hbase/bin/hbase --config /var/run/cloudera-scm-agent/process/764-hbase-MASTER master start
    Exception in thread "main" java.lang.NoClassDefFoundError: HotSpot(TM)
    Caused by: java.lang.ClassNotFoundException: HotSpot(TM)
    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: HotSpot(TM). Program will exit.


    ----------------------

    Thanks
    Madhu


    --
    Adam Smieszny
    Cloudera | Systems Engineer | http://www.linkedin.com/in/adamsmieszny
    917.830.4156

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 22, '13 at 5:42p
activeApr 23, '13 at 2:11p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Madhu Gmail: 2 posts Adam Smieszny: 1 post

People

Translate

site design / logo © 2022 Grokbase