[
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:09 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.EntityAuditRepository.keyspace=atlascassandra
atlas.graph.storage.username=cassandra
atlas.graph.storage.password=xxxxx
was (Author: dprateek):
I have following configuration set in atlas-application.properties
######### Graph Database Configs #########
atlas.ui.editable.entity.types=*
# Graph Database
#Configures the graph database to use. Defaults to JanusGraph
atlas.graphdb.backend=org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase
# Graph Storage
# Set atlas.graph.storage.backend to the correct value for your desired storage
# backend. Possible values:
#
# hbase
# cassandra
# embeddedcassandra - Should only be set by building Atlas with
-Pdist,embedded-cassandra-solr
# berkeleyje
#
# See the configuration documentation for more information about configuring
the various storage backends.
#
atlas.graph.storage.backend=cassandra
# Entity audit repository
#
# This allows the default behavior of logging entity changes to hbase to be
changed.
#
# Allowed Values:
# org.apache.atlas.repository.audit.HBaseBasedAuditRepository - log entity
changes to hbase
# org.apache.atlas.repository.audit.CassandraBasedAuditRepository - log entity
changes to cassandra
# org.apache.atlas.repository.audit.NoopEntityAuditRepository - disable the
audit repository
#
atlas.EntityAuditRepository.impl=org.apache.atlas.repository.audit.CassandraBasedAuditRepository
# if Cassandra is used as a backend for audit from the above property,
uncomment and set the following
# properties appropriately. If using the embedded cassandra profile, these
properties can remain
# commented out.
atlas.EntityAuditRepository.keyspace=JanusGraph
atlas.EntityAuditRepository.replicationFactor=1
#In order to use Cassandra as a backend, comment out the hbase specific
properties above, and uncomment the
#the following properties
atlas.graph.storage.hostname=cassandra
atlas.graph.storage.clustername=JanusGraph
#atlas.graph.storage.port=9160
atlas.EntityAuditRepository.replicationFactor=1
atlas.EntityAuditRepository.keyspace=JanusGraph
atlas.graph.storage.username=cassandra
atlas.graph.storage.password=xxxxxxx
# Graph Search Index
atlas.graph.index.search.backend=solr
#Solr
#Solr cloud mode properties
atlas.graph.index.search.solr.mode=cloud
atlas.graph.index.search.solr.zookeeper-url=zookeeper:2181
atlas.graph.index.search.solr.zookeeper-connect-timeout=60000
atlas.graph.index.search.solr.zookeeper-session-timeout=60000
atlas.graph.index.search.solr.wait-searcher=true
#Solr http mode properties
atlas.graph.index.search.solr.mode=http
atlas.graph.index.search.solr.http-urls=http://solr:8983/solr
# Solr-specific configuration property
atlas.graph.index.search.max-result-set-size=150
######### Notification Configs #########
#atlas.notification.embedded=false
#atlas.kafka.data=${sys:atlas.home}/data/kafka
atlas.kafka.zookeeper.connect=zookeeper:2181
atlas.kafka.bootstrap.servers=kafka:9092
atlas.kafka.zookeeper.session.timeout.ms=400
atlas.kafka.zookeeper.connection.timeout.ms=200
atlas.kafka.zookeeper.sync.time.ms=20
atlas.kafka.auto.commit.interval.ms=1000
atlas.kafka.hook.group.id=atlas
atlas.kafka.enable.auto.commit=false
atlas.kafka.auto.offset.reset=earliest
atlas.kafka.session.timeout.ms=30000
atlas.kafka.offsets.topic.replication.factor=1
atlas.kafka.poll.timeout.ms=1000
atlas.notification.create.topics=true
atlas.notification.replicas=1
atlas.notification.topics=ATLAS_HOOK,ATLAS_ENTITIES
atlas.notification.log.failed.messages=true
atlas.notification.consumer.retry.interval=500
atlas.notification.hook.retry.interval=1000
## Server port configuration
#atlas.server.http.port=21000
#atlas.server.https.port=21443
######### Security Properties #########
# SSL config
atlas.enableTLS=false
#truststore.file=/path/to/truststore.jks
#cert.stores.credential.provider.path=jceks://file/path/to/credentialstore.jceks
#following only required for 2-way SSL
#keystore.file=/path/to/keystore.jks
# Authentication config
atlas.authentication.method.kerberos=false
atlas.authentication.method.file=true
#### user credentials file
atlas.authentication.method.file.filename=${sys:atlas.home}/conf/users-credentials.properties
######### Server Properties #########
atlas.rest.address=http://localhost:21000
# If enabled and set to true, this will run setup steps when the server starts
#atlas.server.run.setup.on.start=false
######### Atlas Authorization #########
atlas.authorizer.impl=simple
atlas.authorizer.simple.authz.policy.file=atlas-simple-authz-policy.json
######### CSRF Configs #########
atlas.rest-csrf.enabled=true
atlas.rest-csrf.browser-useragents-regex=^Mozilla.*,^Opera.*,^Chrome.*
atlas.rest-csrf.methods-to-ignore=GET,OPTIONS,HEAD,TRACE
atlas.rest-csrf.custom-header=X-XSRF-HEADER
######### Gremlin Search Configuration #########
#Set to false to disable gremlin search.
atlas.search.gremlin.enable=false
> 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)