Running secureGraph on an accumulo cluster

114 views
Skip to first unread message
Assigned to joe.m....@gmail.com by me

vaibhav thapliyal

unread,
Nov 18, 2014, 7:54:58 AM11/18/14
to lum...@googlegroups.com
Dear all,

I am trying to run the Secure Graph API on a multi-node(3 nodes) Accumulo cluster. When I run my code from a node inside the cluster it works fine, but when I use the same code on a machine which is not a node in the cluster the code fails to do anything and exits with this message in the console:

"WARN: Failed to find an available server from a list of servers."

The machine fails to connect to the zookeeper servers.

Has anybody encountered this problem?

Any help would be useful.

Thanks and Regards,
Vaibhav

Joe Ferner

unread,
Nov 18, 2014, 9:23:23 AM11/18/14
to lum...@googlegroups.com
Here is the configuration I use to connect to a server.

graph=org.securegraph.accumulo.AccumuloGraph
graph.accumuloInstanceName=lumify
graph.username=root
graph.password=password
graph.tableNamePrefix=lumify_securegraph
graph.zookeeperServers=192.168.33.10
graph.serializer=org.securegraph.accumulo.serializer.JavaValueSerializer
graph.idgenerator=org.securegraph.id.UUIDIdGenerator
graph.search=org.securegraph.elasticsearch.ElasticSearchParentChildSearchIndex
graph.search.indexEdges=false
graph.search.locations=192.168.33.10
graph.search.indexName=securegraph
graph.search.storeSourceData=false
graph.hdfs.rootDir=hdfs://192.168.33.10
graph.hdfs.dataDir=/lumify/secureGraph
                                            
Can you post your configuration so we can compare.

Jayasree Atmakuru

unread,
Nov 19, 2014, 9:12:18 AM11/19/14
to lum...@googlegroups.com

Hi Joe ,
   "graph.search.locations=192.168.33.10"
What is graph location means?
I have hdfs root dir as : hdfs://127.0.0.1
and zookeeper as : localhost.

Which on I should give for this property?

Please reply soon.

Joe Ferner

unread,
Nov 19, 2014, 11:58:05 AM11/19/14
to lum...@googlegroups.com
graph.search.locations is a list of ElasticSearch IPs.

SecureGraph uses two data stores. Accumulo for storing the data, graph, vertices, edges, etc. And ElasticSearch for storing a search index to allow full text searching of your graph. If you don't need searching you can change "graph.search" to "org.securegraph.search.DefaultSearchIndex".


On Tuesday, November 18, 2014 7:54:58 AM UTC-5, vaibhav thapliyal wrote:
Reply all
Reply to author
Forward
0 new messages