janusgraph does not re-check hostname/ip resoultion when re-opening graph

Created on 25 Jul 2018  路  2Comments  路  Source: JanusGraph/janusgraph

We run janusgraph with Casssandra in kubernetes. If the Cassandra container is deleted for whatever reason, it comes back with a new IP address.

janusgraph is configured to connect to Cassandra by a hostname my_cassandra. When we try to open the graph again after the ip address is changed, janusgraph continues to try to connect to the old ip address of Cassandra, it does not re-resolve the ip address of the hostname my_cassandra.

kinenhancement

Most helpful comment

Same problem here, any updates on how to disable the DNS resolution cache?

All 2 comments

@ngton Has this still been an issue? Were you able to work around this?

Same problem here, any updates on how to disable the DNS resolution cache?

Was this page helpful?
0 / 5 - 0 ratings