This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conf = new BaseConfiguration() | |
conf.setProperty('storage.index.search.backend', 'com.thinkaurelius.titan.diskstorage.solr') | |
conf.setProperty('storage.backend', 'cassandra') | |
conf.setProperty('storage.hostname', 'X.XX.XXX.XXX') | |
conf.setProperty('cache.db-cache', 'true') | |
conf.setProperty('cache.db-cache-clean-wait', '20') | |
conf.setProperty('cache.db-cache-time', '180000') | |
conf.setProperty('cache.db-cache-size', '0.25') | |
conf.setProperty('index.search.backend', 'solr') | |
conf.setProperty('index.search.solr.mode', 'http') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conf = new BaseConfiguration() | |
conf.setProperty('storage.index.search.backend', 'com.thinkaurelius.titan.diskstorage.solr') | |
conf.setProperty('storage.backend', 'cassandra') | |
conf.setProperty('storage.hostname', 'X.XX.XXX.XXX') | |
conf.setProperty('cache.db-cache', 'true') | |
conf.setProperty('cache.db-cache-clean-wait', '20') | |
conf.setProperty('cache.db-cache-time', '180000') | |
conf.setProperty('cache.db-cache-size', '0.25') | |
conf.setProperty('index.search.backend', 'solr') | |
conf.setProperty('index.search.solr.mode', 'http') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# titan 1.0.0 | |
storage.backend=hbase | |
storage.hostname=<zookeeper server ips here> | |
#IMPORTANT - must match zookeeper.znode.parent property | |
# of your hadoop cluster | |
storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure | |
cache.db-cache = true | |
cache.db-cache-clean-wait = 20 |