[ 
https://issues.apache.org/jira/browse/ATLAS-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213553#comment-17213553
 ] 

Prateek Dubey edited comment on ATLAS-3993 at 10/14/20, 3:15 AM:
-----------------------------------------------------------------

I have following configuration set in *atlas-application.properties* related to 
Cassandra 

atlas.graphdb.backend=org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase
 atlas.graph.storage.backend=cassandra
 
atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.CassandraBasedAuditRepository
 atlas.EntityAuditRepository.keyspace=JanusGraph
 atlas.EntityAuditRepository.replicationFactor=1
 atlas.graph.storage.hostname=cassandra
 atlas.graph.storage.clustername=JanusGraph
 #atlas.graph.storage.port=9160
 atlas.EntityAuditRepository.replicationFactor=1
 atlas.graph.storage.username=cassandra
 atlas.graph.storage.password=xxxxx

 

I have following property set in *cassandra.yml.template*

authenticator: PasswordAuthenticator

 

For Cassandra, I'm using Bitnami Docker Image in docker-compose.yml - 

 
 cassandra:
 image: docker.io/bitnami/cassandra:3-debian-10
 hostname: cassandra
 container_name: cassandra
 ports:
- CASSANDRA_SEEDS=cassandra
- CASSANDRA_PASSWORD_SEEDER=yes
- CASSANDRA_PASSWORD=cassandra
- CASSANDRA_CLUSTER_NAME=janusgraph
- MAX_HEAP_SIZE=10G
- HEAP_NEWSIZE=800M


was (Author: dprateek):
I have following configuration set in *atlas-application.properties* related to 
Cassandra 

atlas.graphdb.backend=org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase
 atlas.graph.storage.backend=cassandra
 
atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.CassandraBasedAuditRepository
 atlas.EntityAuditRepository.keyspace=JanusGraph
 atlas.EntityAuditRepository.replicationFactor=1
 atlas.graph.storage.hostname=cassandra
 atlas.graph.storage.clustername=JanusGraph
 #atlas.graph.storage.port=9160
 atlas.EntityAuditRepository.replicationFactor=1
 atlas.graph.storage.username=cassandra
 atlas.graph.storage.password=xxxxx

 

I have following property set in *cassandra.yml.template*

authenticator: PasswordAuthenticator

 

For Cassandra, I'm spinning up things like this - 

 
 cassandra:
 image: docker.io/bitnami/cassandra:3-debian-10
 hostname: cassandra
 container_name: cassandra
 ports:

- 7000:7000
 - 9042:9042
 environment:
 - CASSANDRA_SEEDS=cassandra
 - CASSANDRA_PASSWORD_SEEDER=yes
 - CASSANDRA_PASSWORD=xxxxx
 - CASSANDRA_CLUSTER_NAME=janusgraph
 - MAX_HEAP_SIZE=10G
 - HEAP_NEWSIZE=800M

> 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. 
> 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 
> this and no conclusive usecase anywhere as well. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to