<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135777#M98428</link>
    <description>&lt;P&gt;Are you connected to the hbase master system as listed by Ambari? If so, hbase isn't correctly installed for some reason. Is this a test cluster? If so please remove HBase using API and add it back using Ambari add service. You could refer &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host"&gt;Cwik pages &lt;/A&gt;for the same.&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 18:04:50 GMT</pubDate>
    <dc:creator>vpoornalingam</dc:creator>
    <dc:date>2016-05-09T18:04:50Z</dc:date>
    <item>
      <title>While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135765#M98416</link>
      <description>&lt;P&gt;While trying to start Hbase  as &lt;/P&gt;&lt;P&gt;[hbase@hdpclient1 ~]$ /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25&lt;/P&gt;&lt;P&gt;getting the below error. &lt;/P&gt;&lt;P&gt;Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster.&lt;/P&gt;&lt;P&gt;Please help me. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 20:27:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135765#M98416</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-06T20:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135766#M98417</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10051/raghu7711.html" nodeid="10051"&gt;@Raghu  Ramamoorthi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try below command on same shell and run the script again?&lt;/P&gt;&lt;P&gt;export CLASSPATH=$CLASSPATH:`hbase classpath`&lt;/P&gt;&lt;P&gt;Also, we should start/stop services from Ambari always.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 21:37:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135766#M98417</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-06T21:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135767#M98418</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;Thanks for your quick help on this.&lt;/P&gt;&lt;P&gt;I was able to start HBase Master and Region servers separately.&lt;/P&gt;&lt;P&gt;But they are just stopping when both started.&lt;/P&gt;&lt;P&gt;The error log says that "Ranger admin  not installed ". Is Ranger admin required for this ?&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 22:08:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135767#M98418</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-06T22:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135768#M98419</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10051/raghu7711.html" nodeid="10051"&gt;@Raghu  Ramamoorthi&lt;/A&gt; &lt;/P&gt;&lt;P&gt;What happens if you start hbase from Ambari UI? I believe ranger is not mandatory for hbase .&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 22:34:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135768#M98419</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-06T22:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135769#M98420</link>
      <description>&lt;P&gt;Is this a new installation?&lt;/P&gt;&lt;P&gt;You should start HBASE from Ambari. HBASE requires zookeeper to be available. &lt;/P&gt;&lt;P&gt;Paste the error log for HBASE Master. &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 01:33:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135769#M98420</guid>
      <dc:creator>PranayV</dc:creator>
      <dc:date>2016-05-09T01:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135770#M98421</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;It is starting in ambari UI but stopping immediately.unable to even start the same in terminal.&lt;/P&gt;&lt;P&gt;Also the same for Hbase RegionServer.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 12:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135770#M98421</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-09T12:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135771#M98422</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/768/pvyas.html" nodeid="768"&gt;@Pranay Vyas&lt;/A&gt;&lt;P&gt;Hi Pranay,&lt;/P&gt;&lt;P&gt;This is a new installation. Zookeeper already running in all 3 client nodes.&lt;/P&gt;&lt;P&gt;Is Zoopkeeper server needs to run in all client nodes ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 12:10:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135771#M98422</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-09T12:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135772#M98423</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10051/raghu7711.html" nodeid="10051"&gt;@Raghu  Ramamoorthi&lt;/A&gt;&lt;P&gt;When you try to start Hbase manually, the classpath needs to be correctly set. In this case it looks like the classpath for hbase is not correctly set. You could review hbase-env in Ambari Hbase configs to check what you need to set before actually running the command manually. Or /etc/hbase/conf/hbase-env.sh in the node where hbase is installed.&lt;/P&gt;&lt;P&gt;We should focus on the reason for the Hbase to go down after you start from Ambari. Please check /var/log/hbase/hbase*master*log to check why it failed after the service start up came up good. That would help in resolving your issue.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 13:00:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135772#M98423</guid>
      <dc:creator>vpoornalingam</dc:creator>
      <dc:date>2016-05-09T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135773#M98424</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt;&lt;P&gt;Thank you so much for the help.&lt;/P&gt;&lt;P&gt;log file inside /var/log/hbase says that &lt;STRONG&gt;Error: Could not find or load main class org.hadoop.hbase.master.HMaster.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 14:14:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135773#M98424</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-09T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135774#M98425</link>
      <description>&lt;P&gt;I suspect that hbase is not correctly installed. When you go to /usr/hdp/current/hbase*/lib, do you find jar files? could you please list them?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 14:14:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135774#M98425</guid>
      <dc:creator>vpoornalingam</dc:creator>
      <dc:date>2016-05-09T14:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135775#M98426</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt; &lt;/P&gt;&lt;P&gt;There is no jars related to Hbase.&lt;/P&gt;&lt;P&gt;Only &lt;STRONG&gt;ranger-hbase-plugin-impl &lt;/STRONG&gt;and &lt;STRONG&gt;ranger-hbase-plugin-shim-0.5.0.2.4.0.0-169.jar &lt;/STRONG&gt;available inside /usr/hdp/current/hbase-master/lib directory.&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 15:24:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135775#M98426</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-09T15:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135776#M98427</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10051/raghu7711.html" nodeid="10051"&gt;@Raghu  Ramamoorthi&lt;/A&gt;&lt;P&gt;Can you please share the log messages which you are seeing?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 17:30:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135776#M98427</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-09T17:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135777#M98428</link>
      <description>&lt;P&gt;Are you connected to the hbase master system as listed by Ambari? If so, hbase isn't correctly installed for some reason. Is this a test cluster? If so please remove HBase using API and add it back using Ambari add service. You could refer &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host"&gt;Cwik pages &lt;/A&gt;for the same.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 18:04:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135777#M98428</guid>
      <dc:creator>vpoornalingam</dc:creator>
      <dc:date>2016-05-09T18:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135778#M98429</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt;&lt;P&gt;Thank you so much for the help sir.&lt;/P&gt;&lt;P&gt;I have done the re-installation as you suggested. Additionally i have downloaded the jar files and placed inside the /usr/hdp/current/hbase/lib folder.&lt;/P&gt;&lt;P&gt;the issue is fixed. Hbase master is up and running.&lt;/P&gt;&lt;P&gt; thank you very much for the help. &lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 18:58:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135778#M98429</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-09T18:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135779#M98430</link>
      <description>&lt;P&gt;This error is because of symbolic link is broken for (Means hbase client jar is not present in the node) -&lt;/P&gt;&lt;P&gt;ll /usr/hdp/current/hbase-client/lib/hbase-client.jar&lt;/P&gt;&lt;P&gt;Put your hbase client jar from another node to the non working node-&lt;/P&gt;&lt;P&gt;/usr/hdp/current/hbase-client/lib/hbase-client-*.jar&lt;/P&gt;&lt;P&gt;Please note that, if you don't have other jars as well, then copy all the necessary missing jars from other node-&lt;/P&gt;&lt;P&gt;/usr/hdp/current/&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135779#M98430</guid>
      <dc:creator>raja_ray</dc:creator>
      <dc:date>2018-08-08T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: While trying to start Hbase getting the following error. Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135780#M98431</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am also facing similar issue. I am getting error &lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;[root@ip-172-31-47-215 hbase]# cat hbase-root-master-ip-172-31-47-215.us-west-2.compute.internal.out&lt;/P&gt;&lt;P&gt;Error: Could not find or load main class exists&lt;/P&gt;&lt;P&gt;If i look into the log file i am just getting following message. There is no error report there&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;Wed Oct 24 08:51:53 UTC 2018 Starting master on ip-172-31-47-215.us-west-2.compute.internal&lt;/P&gt;&lt;P&gt;core file size(blocks, -c) 0&lt;/P&gt;&lt;P&gt;data seg size (kbytes, -d) unlimited&lt;/P&gt;&lt;P&gt;scheduling priority (-e) 0&lt;/P&gt;&lt;P&gt;file size (blocks, -f) unlimited&lt;/P&gt;&lt;P&gt;pending signals (-i) 63362&lt;/P&gt;&lt;P&gt;max locked memory (kbytes, -l) 64&lt;/P&gt;&lt;P&gt;max memory size (kbytes, -m) unlimited&lt;/P&gt;&lt;P&gt;open files(-n) 1024&lt;/P&gt;&lt;P&gt;pipe size(512 bytes, -p) 8&lt;/P&gt;&lt;P&gt;POSIX message queues (bytes, -q) 819200&lt;/P&gt;&lt;P&gt;real-time priority(-r) 0&lt;/P&gt;&lt;P&gt;stack size(kbytes, -s) 8192&lt;/P&gt;&lt;P&gt;cpu time (seconds, -t) unlimited&lt;/P&gt;&lt;P&gt;max user processes(-u) 63362&lt;/P&gt;&lt;P&gt;virtual memory(kbytes, -v) unlimited&lt;/P&gt;&lt;P&gt;file locks(-x) unlimited&lt;/P&gt;&lt;P&gt;Below is the output of the gc log&lt;/P&gt;&lt;P&gt;[root@ip-172-31-47-215 hbase]# cat gc.log-201810240851&lt;/P&gt;&lt;P&gt;Java HotSpot(TM) 64-Bit Server VM (25.181-b13) for linux-amd64 JRE (1.8.0_181-b13), built on Jul7 2018 00:56:38 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)&lt;/P&gt;&lt;P&gt;Memory: 4k page, physical 16265880k(388408k free), swap 0k(0k free)&lt;/P&gt;&lt;P&gt;CommandLine flags: -XX:ErrorFile=/var/log/hbase/hs_err_pid%p.log -XX:InitialHeapSize=260254080 -XX:MaxHeapSize=1073741824 -XX:MaxNewSize=348966912 -XX:MaxTenuringThreshold=6 -XX:OldPLABSize=16 -XX:OnOutOfMemoryError=kill -9 %p -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC&lt;/P&gt;&lt;P&gt;Heap&lt;/P&gt;&lt;P&gt;par new generation total 76800K, used 10973K [0x00000000c0000000, 0x00000000c5350000, 0x00000000d4cc0000)&lt;/P&gt;&lt;P&gt;eden space 68288K,16% used [0x00000000c0000000, 0x00000000c0ab7608, 0x00000000c42b0000)&lt;/P&gt;&lt;P&gt;from space 8512K, 0% used [0x00000000c42b0000, 0x00000000c42b0000, 0x00000000c4b00000)&lt;/P&gt;&lt;P&gt;to space 8512K, 0% used [0x00000000c4b00000, 0x00000000c4b00000, 0x00000000c5350000)&lt;/P&gt;&lt;P&gt;concurrent mark-sweep generation total 170688K, used 0K [0x00000000d4cc0000, 0x00000000df370000, 0x0000000100000000)&lt;/P&gt;&lt;P&gt;Metaspace used 2984K, capacity 4480K, committed 4480K, reserved 1056768K&lt;/P&gt;&lt;P&gt;class spaceused 313K, capacity 384K, committed 384K, reserved 1048576K&lt;/P&gt;&lt;P&gt;Any idea how to fix this ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 18:34:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-trying-to-start-Hbase-getting-the-following-error/m-p/135780#M98431</guid>
      <dc:creator>laeeq_ahmad</dc:creator>
      <dc:date>2018-10-24T18:34:40Z</dc:date>
    </item>
  </channel>
</rss>

