Skip to content

Instantly share code, notes, and snippets.

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')
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')
@graben1437
graben1437 / hbase.properties
Last active October 23, 2015 12:30
Data Loader to load sample ratings movie data (movies, users, ratings) into a Titan Graph
# 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