[
https://issues.apache.org/jira/browse/ATLAS-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272152#comment-17272152
]
Pengfei Liu commented on ATLAS-3993:
------------------------------------
Hi all,
I have encountered this issue too. But I run a Cassandra cluster on k8s.
Here is my configuration set in *atlas-application.properties* related to
Cassandra
##########################################################
atlas.graph.storage.backend=cql
atlas.graph.storage.hostname=pengfei-cassandra-headless
atlas.graph.storage.cassandra.keyspace=JanusGraph
atlas.graph.storage.clustername=cassandra
atlas.graph.storage.port=9042
atlas.graph.storage.username=cassandra
atlas.graph.storage.password=xxxx
atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.CassandraBasedAuditRepository
atlas.EntityAuditRepository.keyspace=atlas_audit
atlas.EntityAuditRepository.replicationFactor=1
###########################################################
I also noticed that in the application.log we don't have any error or warning
message.
*The only error message is in "atlas.20210126-145743.out"*
###########################################################
2021-01-26 14:58:01,111 ERROR - [main:] ~ Context initialization failed
(ContextLoader:350)
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'services': Invocation of init method failed; nested exception is
java.lang.RuntimeException: org.apache.atlas.AtlasException:
com.datastax.driver.core.exceptions.AuthenticationException: Authentication
error on host pengfei-cassandra-headless/10.233.119.9:9042: Host
pengfei-cassandra-headless/10.233.119.9:9042 requires authentication, but no
authenticator found in Cluster configuration
########################################################
*And the keyspace JanusGraph is created in my Cassandra cluster.*
> Atlas throwing authentication errors while using Remote Cassandra Cluster on
> Docker
> -----------------------------------------------------------------------------------
>
> Key: ATLAS-3993
> URL: https://issues.apache.org/jira/browse/ATLAS-3993
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.0.0
> Environment: DEV
> Reporter: Prateek Dubey
> Priority: Major
>
> I'm trying to setup Apache Atlas on Docker and have setup following services
> on Docker for it -
> # Kafka Cluster along with Zookeeper
> # Solr
> # Cassandra Cluster
> I'm continuously getting Cassandra authentication errors. Can someone help
> explain, what property I'm missing due to which it's not able to authenticate
> to Cassandra.
> *Error* -
> *
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'services': Invocation of init method failed; nested exception is
> java.lang.RuntimeException: org.apache.atlas.AtlasException:
> com.datastax.driver.core.exceptions.AuthenticationException: Authentication
> error on host cassandra/[192.168.144.3:9042|http://192.168.144.3:9042/]: Host
> cassandra/[192.168.144.3:9042|http://192.168.144.3:9042/] requires
> authentication, but no authenticator found in Cluster configuration
>
> Also, can someone please make Atlas Documentation better when it comes to
> using Cassandra as the database. There is no documentation at all related to
> Cassandra anywhere.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)