<?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 [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase table in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29935#M6691</link>
    <description>&lt;P&gt;I am not able to create a table in HBase with cloudera VM, version is 5.x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following is what I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hbase(main):004:0&amp;gt; create 'htest', 'cf'

ERROR: Can't get master address from ZooKeeper; znode data == null

Here is some help for this command:
Creates a table. Pass a table name, and a set of column family
specifications (at least one), and, optionally, table configuration.
Column specification can be a simple string (name), or a dictionary
(dictionaries are described below in main help output), necessarily 
including NAME attribute. 
Examples:

Create a table with namespace=ns1 and table qualifier=t1
  hbase&amp;gt; create 'ns1:t1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 5}

Create a table with namespace=default and table qualifier=t1
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1'}, {NAME =&amp;gt; 'f2'}, {NAME =&amp;gt; 'f3'}
  hbase&amp;gt; # The above in shorthand would be the following:
  hbase&amp;gt; create 't1', 'f1', 'f2', 'f3'
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 1, TTL =&amp;gt; 2592000, BLOCKCACHE =&amp;gt; true}
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', CONFIGURATION =&amp;gt; {'hbase.hstore.blockingStoreFiles' =&amp;gt; '10'}}
  
Table configuration options can be put at the end.
Examples:

  hbase&amp;gt; create 'ns1:t1', 'f1', SPLITS =&amp;gt; ['10', '20', '30', '40']
  hbase&amp;gt; create 't1', 'f1', SPLITS =&amp;gt; ['10', '20', '30', '40']
  hbase&amp;gt; create 't1', 'f1', SPLITS_FILE =&amp;gt; 'splits.txt', OWNER =&amp;gt; 'johndoe'
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 5}, METADATA =&amp;gt; { 'mykey' =&amp;gt; 'myvalue' }
  hbase&amp;gt; # Optionally pre-split the table into NUMREGIONS, using
  hbase&amp;gt; # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
  hbase&amp;gt; create 't1', 'f1', {NUMREGIONS =&amp;gt; 15, SPLITALGO =&amp;gt; 'HexStringSplit'}
  hbase&amp;gt; create 't1', 'f1', {NUMREGIONS =&amp;gt; 15, SPLITALGO =&amp;gt; 'HexStringSplit', REGION_REPLICATION =&amp;gt; 2, CONFIGURATION =&amp;gt; {'hbase.hregion.scan.loadColumnFamiliesOnDemand' =&amp;gt; 'true'}}

You can also keep around a reference to the created table:

  hbase&amp;gt; t1 = create 't1', 'f1'

Which gives you a reference to the table named 't1', on which you can then
call methods.

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:35:06 GMT</pubDate>
    <dc:creator>akhilesht</dc:creator>
    <dc:date>2022-09-16T09:35:06Z</dc:date>
    <item>
      <title>[HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase table</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29935#M6691</link>
      <description>&lt;P&gt;I am not able to create a table in HBase with cloudera VM, version is 5.x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following is what I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hbase(main):004:0&amp;gt; create 'htest', 'cf'

ERROR: Can't get master address from ZooKeeper; znode data == null

Here is some help for this command:
Creates a table. Pass a table name, and a set of column family
specifications (at least one), and, optionally, table configuration.
Column specification can be a simple string (name), or a dictionary
(dictionaries are described below in main help output), necessarily 
including NAME attribute. 
Examples:

Create a table with namespace=ns1 and table qualifier=t1
  hbase&amp;gt; create 'ns1:t1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 5}

Create a table with namespace=default and table qualifier=t1
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1'}, {NAME =&amp;gt; 'f2'}, {NAME =&amp;gt; 'f3'}
  hbase&amp;gt; # The above in shorthand would be the following:
  hbase&amp;gt; create 't1', 'f1', 'f2', 'f3'
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 1, TTL =&amp;gt; 2592000, BLOCKCACHE =&amp;gt; true}
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', CONFIGURATION =&amp;gt; {'hbase.hstore.blockingStoreFiles' =&amp;gt; '10'}}
  
Table configuration options can be put at the end.
Examples:

  hbase&amp;gt; create 'ns1:t1', 'f1', SPLITS =&amp;gt; ['10', '20', '30', '40']
  hbase&amp;gt; create 't1', 'f1', SPLITS =&amp;gt; ['10', '20', '30', '40']
  hbase&amp;gt; create 't1', 'f1', SPLITS_FILE =&amp;gt; 'splits.txt', OWNER =&amp;gt; 'johndoe'
  hbase&amp;gt; create 't1', {NAME =&amp;gt; 'f1', VERSIONS =&amp;gt; 5}, METADATA =&amp;gt; { 'mykey' =&amp;gt; 'myvalue' }
  hbase&amp;gt; # Optionally pre-split the table into NUMREGIONS, using
  hbase&amp;gt; # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
  hbase&amp;gt; create 't1', 'f1', {NUMREGIONS =&amp;gt; 15, SPLITALGO =&amp;gt; 'HexStringSplit'}
  hbase&amp;gt; create 't1', 'f1', {NUMREGIONS =&amp;gt; 15, SPLITALGO =&amp;gt; 'HexStringSplit', REGION_REPLICATION =&amp;gt; 2, CONFIGURATION =&amp;gt; {'hbase.hregion.scan.loadColumnFamiliesOnDemand' =&amp;gt; 'true'}}

You can also keep around a reference to the created table:

  hbase&amp;gt; t1 = create 't1', 'f1'

Which gives you a reference to the table named 't1', on which you can then
call methods.

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:35:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29935#M6691</guid>
      <dc:creator>akhilesht</dc:creator>
      <dc:date>2022-09-16T09:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29960#M6692</link>
      <description>Is the HBase service up and running? Could you check with the 'service' commands, and by visiting the HMaster and HRegionServer web UIs?</description>
      <pubDate>Thu, 23 Jul 2015 05:36:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29960#M6692</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-23T05:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29979#M6693</link>
      <description>&lt;P&gt;I did service --status-all and got below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;HBase master daemon is dead and pid file exists            [FAILED]
hbase-regionserver is not running.
HBase rest daemon is running                               [  OK  ]
HBase Solr Indexer is not running                          [FAILED]
HBase thrift daemon is running                             [  OK  ]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks not running.... How do I start it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 14:08:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29979#M6693</guid>
      <dc:creator>akhilesht</dc:creator>
      <dc:date>2015-07-23T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29985#M6694</link>
      <description>Please restart the failed services. Note that HBase, being dependent on ZK&lt;BR /&gt;timeouts for liveliness, may sometimes not survive VM pauses (such as when&lt;BR /&gt;you hibernate your machine, etc.), and would need to be restarted before&lt;BR /&gt;use again.&lt;BR /&gt;&lt;BR /&gt;This isn't a problem on actual clusters that don't experience such&lt;BR /&gt;pauses/gaps in machine availability.&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2015 17:56:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/29985#M6694</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-23T17:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/35147#M6695</link>
      <description>&lt;P&gt;also have the same problem when trying to create a database on hbase shell. what i have noticed is that hbase master is always down even if i use a different node as hbase master. i have four nodes with cdh5.5.0 install and ubuntu server 14. everything is running except for the master node. help please&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2015 20:23:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/35147#M6695</guid>
      <dc:creator>tune</dc:creator>
      <dc:date>2015-12-12T20:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41769#M6696</link>
      <description>&lt;P&gt;can you please let me know how to restart the failed services?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 02:49:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41769#M6696</guid>
      <dc:creator>techno</dc:creator>
      <dc:date>2016-06-08T02:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41770#M6697</link>
      <description>&lt;P&gt;I am also facing the same issue..Being a beginner I dont know how to restart the failed services... can you please let me know how to restart the services?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2016 02:51:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41770#M6697</guid>
      <dc:creator>techno</dc:creator>
      <dc:date>2016-06-08T02:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41774#M6698</link>
      <description>If you use manually managed CDH with packages, it'd involve restarting the HBase Master and RegionServer services:&lt;BR /&gt;&lt;BR /&gt;~&amp;gt; service hbase-master restart # On Master host&lt;BR /&gt;~&amp;gt; service hbase-regionserver restart # On all RS hosts&lt;BR /&gt;&lt;BR /&gt;If you use Cloudera Manager instead, simply hit Restart on the HBase service on its homepage.</description>
      <pubDate>Wed, 08 Jun 2016 04:15:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/41774#M6698</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2016-06-08T04:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: [HBase] - Can't get master address from ZooKeeper. I am getting this error on Creating Hbase tab</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/45307#M6699</link>
      <description>&lt;P&gt;can you tell me how to connect through java api to hbase cluster ( 4 node cluster running in VM's). from windows to Distribution running in server vm/s&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:00:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Can-t-get-master-address-from-ZooKeeper-I-am-getting/m-p/45307#M6699</guid>
      <dc:creator>manoj10</dc:creator>
      <dc:date>2016-09-20T13:00:27Z</dc:date>
    </item>
  </channel>
</rss>

