Skip to content

Instantly share code, notes, and snippets.

@neerajgoel82
Created June 20, 2017 13:02
Show Gist options
  • Save neerajgoel82/430ea735bb11b8ea1308cc85f06436b1 to your computer and use it in GitHub Desktop.
Save neerajgoel82/430ea735bb11b8ea1308cc85f06436b1 to your computer and use it in GitHub Desktop.
Installing HBase
- Download HBase
- Edit conf/hbae-site.xml. Add the following to the configuration file
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///Users/neeraj/tmp/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>127.0.0.1:2182</value>
</property>
<!-- property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/Users/neeraj/tmp/zookeeper</value>
</property -->
<!-- property>
<name>hbase.zookeeper.property.maxClientCnxns</name>
<value>500</value>
</property -->
<!-- Async Operation does not timeout -->
<property>
<name>hbase.thrift.connection.max-idletime</name>
<value>1800000</value>
</property>
</configuration>
- Start HBase by running bin\start-hbase.sh
- Stop HBase by running bin\stop-hbase.sh
- To run the shell type bin\hbase shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment