I was following a book Hadoop for Dummies. Book’s instruction to amend the file hbase-site.xml in HBase like this :
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///home/biadmin/my-local-hbase/hbase-data</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2222</value>
<description>Property from ZooKeeper's config zoo.cfg.
The port at which the clients will connect.
</description>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/biadmin/my-local-hbase/zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>bivm</value>
</property>
</configuration>
It says :
Using the hbase.rootdir property, you specify a directory in the local file system to store the HBase data. In production environments, this property would point to the HDFS for the data store. You also set the hbase.cluster.distributed property to true which causes HBase to start up in a pseudodistributed mode. If you would choose not to set this property to true, HBase would run all of the necessary processes in a single Java Virtual Machine (JVM). However, for the sake of illustration, pseudo-distributed mode will cause HBase to start a RegionServer instance, a MasterServer instance, and a Zookeeper process. Additionally, you need to specify the hbase.zookeeper. property.clientPort, the directory where Zookeeper will store its data (hbase.zookeeper.property.dataDir) and a list of servers on which Zookeeper will run to form a quorum (hbase.zookeeper.quorum). For standalone, you specify only the single Zookeeper server bivm.
When I start hbase, I get this error :
Bivm: ssh: Could not resolve hostname bivm.
Could anyone please advise how to solve this problem? Thanks!!!