I am trying to access Cassandra database using Hector api 1.1-4 and i have authentication and authorization enabled in Cassandra . here is my code for creating cluster:
cluster = HFactory.getOrCreateCluster("Test Cluster", "localHost:9160", credentials);
but unfortunately it gives me error :
The method getOrCreateCluster(String, CassandraHostConfigurator, Map) in the type HFactory is not applicable for the arguments (String, String, Map)