I downloaded HDP 2.1 from hortonworks for virtualbox. I got the following error when using Hbase shell in case simple command: create 't1', {NAME=> 'f1', VERSIONS => 5}
Hortonworks “ERROR: Can't get master address from ZooKeeper; znode data == null”
What do I need to do to get hbase working in this sandbox environment?
In hortonwork sandbox you have to manually start hbase.
Try to run the following command (as root user),
su hbase - -c "/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start master; sleep 20"
su hbase - -c "/usr/lib/hbase/bin/hbase-daemon.sh --config /etc/hbase/conf start regionserver"
then run "jps" (as root user too).
if you see "HMaster" and "HRegionServer", your hbase is now on.
"hbase shell" again to see if it works.