Created 02-02-2017 07:15 AM
Hi,
The cluster is not kerberised but installed ranger and atlas. As we are not having plan of search in atlas, we haven't installed solr. Atlas UI is not accessible in our cluster. We could found the following errors in application log:
2017-02-02 12:07:06,497 WARN - [main:] ~ FAILED o.e.j.w.WebAppContext@63d75942{/,file:/usr/hdp/2.5.3.0-37/atlas/server/webapp/atlas/,STARTING}{/usr/hdp/current/atlas-server/server/webapp/atlas}: java.lang.ExceptionInInitializerError (AbstractLifeCycle:212) java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.apache.atlas.ApplicationProperties.getClass(ApplicationProperties.java:115)
Caused by: java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.solr.Solr5Index at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55) at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:421)
Caused by: org.apache.solr.common.SolrException: Cannot connect to cluster at hdp-dn02.example.com:2181: cluster not found/not ready at org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:290) at org.apache.solr.client.solrj.impl.CloudSolrClient.connect(CloudSolrClient.java:467)
Please help.
Created 02-02-2017 07:16 AM
looks like atlas is unable to connect to solr . can you check if you can access solr ?
Created 02-02-2017 07:20 AM
we havent installed solr. is it mandatory to install solr if we are not using search?
Created 02-02-2017 09:57 AM
you will need an indexing backend store . Either you can use elastic search /solr . If you are using the HDP2.5 and if you have ambari infra installed on the cluster , you should have solr available.
You will be able to use the same and configure atlas and ranger
atlas.graph.index.search.solr.mode : <zk_host1>:2181/infra-solr,<zk_host2>:2181/infra-solr
if you would like to get a out of box solr installation - try
Created 04-28-2017 10:05 AM
Atlas is still have the same issue after change the above property with with Ambar Infra Solr + Atlas restarted.
Created 02-10-2017 05:45 AM
if any of the solutions resolved your issue , could you please accept that answer
Created 02-02-2017 07:19 AM
Following is the atlas-application-properties content:
atlas.audit.hbase.tablename=ATLAS_ENTITY_AUDIT_EVENTS atlas.audit.hbase.zookeeper.quorum=hortonworks.example.com,hdp-dn02.example.com,hdp-dn03.example.com atlas.audit.zookeeper.session.timeout.ms=1000 atlas.auth.policy.file=/etc/atlas/conf/policy-store.txt atlas.authentication.keytab=/etc/security/keytabs/atlas.service.keytab atlas.authentication.method.file=true atlas.authentication.method.file.filename=/etc/atlas/conf/users-credentials.properties atlas.authentication.method.kerberos=false atlas.authentication.method.ldap=false atlas.authentication.method.ldap.ad.base.dn=
atlas.authentication.method.ldap.ad.bind.dn=
atlas.authentication.method.ldap.ad.bind.password=
atlas.authentication.method.ldap.ad.default.role=ROLE_USER
atlas.authentication.method.ldap.ad.domain=
atlas.authentication.method.ldap.ad.referral=ignore
atlas.authentication.method.ldap.ad.url=
atlas.authentication.method.ldap.ad.user.searchfilter=(sAMAccountName={0})
atlas.authentication.method.ldap.base.dn=
atlas.authentication.method.ldap.bind.dn=
atlas.authentication.method.ldap.bind.password=
atlas.authentication.method.ldap.default.role=ROLE_USER
atlas.authentication.method.ldap.groupRoleAttribute=cn
atlas.authentication.method.ldap.groupSearchBase=
atlas.authentication.method.ldap.groupSearchFilter=
atlas.authentication.method.ldap.referral=ignore
atlas.authentication.method.ldap.type=none
atlas.authentication.method.ldap.url=
atlas.authentication.method.ldap.user.searchfilter=
atlas.authentication.method.ldap.userDNpattern=uid=
atlas.authentication.principal=
atlas atlas.authorizer.impl=simple
atlas.cluster.name=HSBC
atlas.enableTLS=false
atlas.graph.index.search.backend=solr5
atlas.graph.index.search.solr.mode=cloud
atlas.graph.index.search.solr.zookeeper-url=hdp-dn02.example.com:2181,hdp-dn03.example.com:2181,hortonworks.example.com:2181
atlas.graph.storage.backend=hbase
atlas.graph.storage.hbase.table=atlas_titan
atlas.graph.storage.hostname=hortonworks.example.com,hdp-dn02.example.com,hdp-dn03.example.com atlas.kafka.auto.commit.enable=false
atlas.kafka.bootstrap.servers=hortonworks.example.com:6667
atlas.kafka.hook.group.id=atlas
atlas.kafka.zookeeper.connect=hdp-dn02.example.com:2181,hdp-dn03.example.com:2181,hortonworks.example.com:2181
atlas.kafka.zookeeper.connection.timeout.ms=200
atlas.kafka.zookeeper.session.timeout.ms=400
atlas.kafka.zookeeper.sync.time.ms=20
atlas.lineage.schema.query.hive_table=hive_table where __guid='%s'\, columns
atlas.lineage.schema.query.Table=Table where __guid='%s'\, columns
atlas.notification.create.topics=true
atlas.notification.embedded=false
atlas.notification.replicas=1
atlas.notification.topics=ATLAS_HOOK,ATLAS_ENTITIES
atlas.rest.address=http://hdp-dn02.example.com:21000
atlas.server.address.id1=hdp-dn02.example.com:21000
atlas.server.bind.address=hdp-dn02.example.com
atlas.server.ha.enabled=false atlas.server.http.port=21000
atlas.server.https.port=21443
atlas.server.ids=id1
atlas.solr.kerberos.enable=false
Created 02-02-2017 07:23 AM
Either Solr or Elastic Search should be installed and started for Atlas to start up. Indexing backend is a hard dependency for Atlas.
Created 02-02-2017 09:18 AM
Can you please share any documents to install solr in HDP-2.5.3 and also the steps to configure it with ranger and atlas.
Created 05-07-2020 01:00 PM
I am getting below error while starting Atlas UI,
RROR - [main:] ~ Context initialization failed (ContextLoader:350)
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'notificationHookConsumer' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-webapp-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/notification/NotificationHookConsumer.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'atlasEntityStoreV1' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'atlasEntityChangeNotifier' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/repository/store/graph/v1/AtlasEntityChangeNotifier.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'atlasInstanceConverter' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/repository/converters/AtlasInstanceConverter.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultMetadataService' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/services/DefaultMetadataService.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphBackedSearchIndexer' defined in URL [jar:file:/usr/hdp/2.6.5.0-292/atlas/server/webapp/atlas/WEB-INF/lib/atlas-repository-0.8.0.2.6.5.0-292.jar!/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.atlas.repository.graph.GraphBackedSearchIndexer]: Constructor threw exception; nested exception is org.apache.atlas.repository.RepositoryException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://10.170.65.17:8886/solr: Can not find the specified config set: vertex_index