This is an automated email from the ASF dual-hosted git repository.
eamonford pushed a commit to branch cassandra-authentication
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/cassandra-authentication by
this push:
new c7edc51 cleanup
c7edc51 is described below
commit c7edc5154b2c6603582e87b7b58ede22e37b2c72
Author: Eamon Ford <[email protected]>
AuthorDate: Wed Aug 5 16:57:54 2020 -0700
cleanup
---
data-access/nexustiles/config/datastores.ini.default | 2 +-
data-access/nexustiles/dao/CassandraProxy.py | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/data-access/nexustiles/config/datastores.ini.default
b/data-access/nexustiles/config/datastores.ini.default
index 63d08af..9fd1492 100644
--- a/data-access/nexustiles/config/datastores.ini.default
+++ b/data-access/nexustiles/config/datastores.ini.default
@@ -1,5 +1,5 @@
[cassandra]
-host=sdap-cassandra
+host=localhost
port=9042
keyspace=nexustiles
local_datacenter=datacenter1
diff --git a/data-access/nexustiles/dao/CassandraProxy.py
b/data-access/nexustiles/dao/CassandraProxy.py
index 9a38e29..a8a4e6e 100644
--- a/data-access/nexustiles/dao/CassandraProxy.py
+++ b/data-access/nexustiles/dao/CassandraProxy.py
@@ -161,9 +161,6 @@ class CassandraProxy(object):
self.__cass_protocol_version = config.getint("cassandra",
"protocol_version")
self.__cass_dc_policy = config.get("cassandra", "dc_policy")
- logger.info("Setting cassandra host to " + self.__cass_url)
- logger.info("Setting cassandra username to " + self.__cass_username)
-
try:
self.__cass_port = config.getint("cassandra", "port")
except NoOptionError:
@@ -176,7 +173,6 @@ class CassandraProxy(object):
self.__open()
def __open(self):
- logger.info("Connecting to cassandra at " + self.__cass_url)
if self.__cass_dc_policy == 'DCAwareRoundRobinPolicy':
dc_policy = DCAwareRoundRobinPolicy(self.__cass_local_DC)
elif self.__cass_dc_policy == 'WhiteListRoundRobinPolicy':