Sources: https://tinkerpop.apache.org, tinkerpop-javadocs, datastax, Google
---------------------Graph hbase configuration steps------------
---------------------Rexter configuration steps------------
1. Copy rexster-casandra-es.xml to rexster-hbase-es.xml
& rexster-casandra.xml to rexster-hbase.xml
2. Update storage-backend tag's value to hbase in both files.
3. Copy rexster-hbase.xml to $TITAN_HOME/rexhome/config/rexter.xml
Note: If accessing rexster from remote (other than localhost then value of <base-uri> has to be updated(e.g- localhost to <HOST>) ), also set following in <graph><properties>:
<storage.backend>hbase</storage.backend>
<storage.hostname><HOST></storage.hostname>
<storage.hbase.table><HBASE TABLE CONFIGURED TO BE USED BY TITAN></storage.hbase.table>
<storage.port><HBASE ZOOKEEPER PORT></storage.port>
4. Run rexster.sh -s
5. browse http://<HOST>:8182/doghouse/main/graph/graph
---------------------Installation steps------------
Problem#1:java.lang.RuntimeException: Could not load configuration from [<TITAN_HOME>/rexhome/config/rexster.xml]
Soln:just copied rexster-hbase.xml as rexster.xml in rexhome/config/rexster.xml. actually skipped step 3 of above. hence error.
Problem#2: Could not find storage manager class. at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:209)
Soln: Added dependency for titan-hbase. compile group: 'com.thinkaurelius.titan', name: 'titan-hbase', version: '0.2.1'
Problem#3: Was unable to configure titan's storage-backend as hbase, coz hbase was running on different port zookeeper.
Soln: had set storage.hbase.ext.hbase.zookeeper.property.clientPort=2184 in titan-hbase.properties & titan-hbase-es.properties
Problem#4: Not a host:port pair: PBUF. at org.apache.hadoop.hbase.util.Addressing.parseHostname(Addressing.java:60)
Soln:was using hbase-0.98.6-hadoop2 and titan-0.5.4-hadoop1, which are incompatible, additionally the hbase client version was incompatible too. switched to titan-client and titan-hbase versions to 0.5.4.
Problem#5: org/apache/hadoop/hbase/ZooKeeperConnectionException class not found error.
Soln: added compile group: 'org.apache.hbase', name: 'hbase', version: '0.98.6-hadoop2'