@@ -54,7 +54,10 @@ Without Ranger, HBase shell can be used to set the permissions.
...
@@ -54,7 +54,10 @@ Without Ranger, HBase shell can be used to set the permissions.
</verbatim>
</verbatim>
Note that HBase is included in the distribution so that a standalone instance of HBase can be started as the default
Note that HBase is included in the distribution so that a standalone instance of HBase can be started as the default
storage backend for the graph repository.
storage backend for the graph repository. By default, the standalone HBase instance will be started and stopped along
with the Atlas server when the configuraton 'atlas.graph.storage.backend' is set to 'hbase' and
'atlas.graph.storage.hostname' is set to 'localhost'. Set the MANAGE_LOCAL_HBASE environment variable to 'False' to
override this behavior.
---+++ Graph Search Index
---+++ Graph Search Index
This section sets up the graph db - titan - to use an search indexing system. The example
This section sets up the graph db - titan - to use an search indexing system. The example
...
@@ -77,6 +80,12 @@ Please note that Solr installation in Cloud mode is a prerequisite before config
...
@@ -77,6 +80,12 @@ Please note that Solr installation in Cloud mode is a prerequisite before config
atlas.graph.index.search.solr.zookeeper-url=<the ZK quorum setup for solr as comma separated value> eg: 10.1.6.4:2181,10.1.6.5:2181
atlas.graph.index.search.solr.zookeeper-url=<the ZK quorum setup for solr as comma separated value> eg: 10.1.6.4:2181,10.1.6.5:2181
</verbatim>
</verbatim>
Also note that Solr is included in the distribution so that a standalone instance of Solr can be started as the default
search indexing backend. By default, the standalone Solr instance will be started and stopped along
with the Atlas server when the configuraton 'atlas.graph.index.search.backend' is set to 'solr5' and
'atlas.graph.index.search.solr.zookeeper-url' is set to 'localhost'. Set the MANAGE_LOCAL_SOLR environment variable to
'False' to override this behavior.
---+++ Choosing between Persistence and Indexing Backends
---+++ Choosing between Persistence and Indexing Backends
Refer http://s3.thinkaurelius.com/docs/titan/0.5.4/bdb.html and http://s3.thinkaurelius.com/docs/titan/0.5.4/hbase.html for choosing between the persistence backends.
Refer http://s3.thinkaurelius.com/docs/titan/0.5.4/bdb.html and http://s3.thinkaurelius.com/docs/titan/0.5.4/hbase.html for choosing between the persistence backends.
* Run the following commands from SOLR_HOME directory to create collections in Solr corresponding to the indexes that Atlas uses. In the case that the ATLAS and SOLR instance are on 2 different hosts,
* Run the following commands from SOLR_BIN (e.g. $SOLR_HOME/bin) directory to create collections in Solr corresponding to the indexes that Atlas uses. In the case that the ATLAS and SOLR instance are on 2 different hosts,
first copy the required configuration files from ATLAS_HOME/conf/solr on the ATLAS instance host to the Solr instance host. SOLR_CONF in the below mentioned commands refer to the directory where the solr configuration files
first copy the required configuration files from ATLAS_HOME/conf/solr on the ATLAS instance host to the Solr instance host. SOLR_CONF in the below mentioned commands refer to the directory where the solr configuration files
Note: If numShards and replicationFactor are not specified, they default to 1 which suffices if you are trying out solr with ATLAS on a single node instance.
Note: If numShards and replicationFactor are not specified, they default to 1 which suffices if you are trying out solr with ATLAS on a single node instance.
...
@@ -200,6 +207,9 @@ For configuring Titan to work with Solr, please follow the instructions below
...
@@ -200,6 +207,9 @@ For configuring Titan to work with Solr, please follow the instructions below
The number of replicas (replicationFactor) can be set according to the redundancy required.
The number of replicas (replicationFactor) can be set according to the redundancy required.
Also note that solr will automatically be called to create the indexes when the Atlas server is started if the
SOLR_BIN and SOLR_CONF environment variables are set and the search indexing backend is set to 'solr5'.
* Change ATLAS configuration to point to the Solr instance setup. Please make sure the following configurations are set to the below values in ATLAS_HOME/conf/atlas-application.properties
* Change ATLAS configuration to point to the Solr instance setup. Please make sure the following configurations are set to the below values in ATLAS_HOME/conf/atlas-application.properties