- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
atlas webui is not accessible
- Labels:
-
Apache Atlas
-
Apache Solr
Created on
‎09-19-2021
09:35 AM
- last edited on
‎09-19-2021
12:28 PM
by
ask_bill_brooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear,
I am getting the below error on atlas role log, kindly support.
how to know if the vertex_index exists?
GraphBackedSearchIndexer.initialize() failed (GraphBackedSearchIndexer:376)
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://xxxxxxxxxxxxxx:8993/solr: Can not find the specified config set: vertex_index
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:668)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:265)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
at org.apache.solr.client.solrj.impl.LBSolrClient.doRequest(LBSolrClient.java:368)
at org.apache.solr.client.solrj.impl.LBSolrClient.request(LBSolrClient.java:296)
at org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1143)
at
Regards,
Created ‎09-21-2021 11:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please follow the below mentioned steps whenever you face such issue:
Cloudera Manager provides Atlas action option to initialize Atlas, which creates all the required backend resources HBase table, Solr collection and Kafka topics.
- Navigate to Atlas from the Cloudera Manager UI.
- Under actions, the Initialize Atlas option appears. Initiate it; it will create the required resources.
- Once done, verify the Altas UI.
If the issue is still not resolved, perform the following steps:
- Login to Solr host and kinit with Solr principal as follows:
- # klist -kt /var/run/cloudera-scm-agent/process/XXX-solr-SOLR_SERVER/solr.keytab
# kinit -kt /var/run/cloudera-scm-agent/process/XXX-solr-SOLR_SERVER/solr.keytab solr/host_name.principal.com@COE.CLOUDERA.COM - Delete the /solr and /solr-infra znodes using Zookeeper client. Do the following:
- #/opt/cloudera/parcels/CDH/bin/zookeeper-client
- # ls /
- [solr, solr-infra]
- # deleteall /solr
- # deleteall /solr-infra
- # ls / (should not show any solr or solr-infra znodes)
While performing the above steps, if you face error as "Authentication is not valid : /solr-infra/security" or "Node not empty: /solr-infra/security/zkdtsm/ZKDTSMRoot", kindly perform the following steps, or else skip to Step 3. - Temporarily disable ACL by setting 'zookeeper.skipACL=yes' in ZooKeeper's Java Advance configuration in Cloudera Manager
- Navigate to Cloudera Manager > Zookeeper Service
- In Configuration, add '-Dzookeeper.skipACL=yes' to Java Configuration Options for Zookeeper Server
- Restart ZooKeeper with the new configuration. Run the following:#export JAVA_HOME=/usr/java/jdk1.8.0
#/opt/cloudera/parcels/CDH-X.X.X/lib/solr/server/scripts/cloud-scripts/zkcli.sh -cmd clear -z "localhost:2181" /solr-infra
Repeat Step a - Stop Solr service
- Execute Initialize Solr action from Solr service.
- Start Solr service
- Stop the Atlas service
- Execute Initialize Atlas action from Atlas service
- On Solr host, check if the following command returns the atlas_configs instancedir:
#solrctl instancedir --list - #sample output
- _default
- atlas_configs
- managedTemplate
If it returns atlas_configs, skip this create command. If it does not return atlas_configs, execute the following create command:
#solrctl instancedir --create atlas_configs /opt/cloudera/parcels/CDH/etc/atlas/conf.dist/solr/ - Check if the following command returns the edge_index, fulltext_index, and vertex_index collections:
#solrctl collection --list. - #sample output
- vertex_index (5)
- edge_index (5)
- fulltext_index (5)
If it does return the 3 collections above, skip the create commands below. If it does not return the 3 collections above, execute the following commands:#solrctl collection --create edge_index -c atlas_configs -s 1 -r 1 -m 1 - #solrctl collection --create fulltext_index -c atlas_configs -s 1 -r 1 -m 1
- #solrctl collection --create vertex_index -c atlas_configs -s 1 -r 1 -m 1
- Start the Atlas service and bring up the UI.
For Reference:
Created ‎09-21-2021 11:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please follow the below mentioned steps whenever you face such issue:
Cloudera Manager provides Atlas action option to initialize Atlas, which creates all the required backend resources HBase table, Solr collection and Kafka topics.
- Navigate to Atlas from the Cloudera Manager UI.
- Under actions, the Initialize Atlas option appears. Initiate it; it will create the required resources.
- Once done, verify the Altas UI.
If the issue is still not resolved, perform the following steps:
- Login to Solr host and kinit with Solr principal as follows:
- # klist -kt /var/run/cloudera-scm-agent/process/XXX-solr-SOLR_SERVER/solr.keytab
# kinit -kt /var/run/cloudera-scm-agent/process/XXX-solr-SOLR_SERVER/solr.keytab solr/host_name.principal.com@COE.CLOUDERA.COM - Delete the /solr and /solr-infra znodes using Zookeeper client. Do the following:
- #/opt/cloudera/parcels/CDH/bin/zookeeper-client
- # ls /
- [solr, solr-infra]
- # deleteall /solr
- # deleteall /solr-infra
- # ls / (should not show any solr or solr-infra znodes)
While performing the above steps, if you face error as "Authentication is not valid : /solr-infra/security" or "Node not empty: /solr-infra/security/zkdtsm/ZKDTSMRoot", kindly perform the following steps, or else skip to Step 3. - Temporarily disable ACL by setting 'zookeeper.skipACL=yes' in ZooKeeper's Java Advance configuration in Cloudera Manager
- Navigate to Cloudera Manager > Zookeeper Service
- In Configuration, add '-Dzookeeper.skipACL=yes' to Java Configuration Options for Zookeeper Server
- Restart ZooKeeper with the new configuration. Run the following:#export JAVA_HOME=/usr/java/jdk1.8.0
#/opt/cloudera/parcels/CDH-X.X.X/lib/solr/server/scripts/cloud-scripts/zkcli.sh -cmd clear -z "localhost:2181" /solr-infra
Repeat Step a - Stop Solr service
- Execute Initialize Solr action from Solr service.
- Start Solr service
- Stop the Atlas service
- Execute Initialize Atlas action from Atlas service
- On Solr host, check if the following command returns the atlas_configs instancedir:
#solrctl instancedir --list - #sample output
- _default
- atlas_configs
- managedTemplate
If it returns atlas_configs, skip this create command. If it does not return atlas_configs, execute the following create command:
#solrctl instancedir --create atlas_configs /opt/cloudera/parcels/CDH/etc/atlas/conf.dist/solr/ - Check if the following command returns the edge_index, fulltext_index, and vertex_index collections:
#solrctl collection --list. - #sample output
- vertex_index (5)
- edge_index (5)
- fulltext_index (5)
If it does return the 3 collections above, skip the create commands below. If it does not return the 3 collections above, execute the following commands:#solrctl collection --create edge_index -c atlas_configs -s 1 -r 1 -m 1 - #solrctl collection --create fulltext_index -c atlas_configs -s 1 -r 1 -m 1
- #solrctl collection --create vertex_index -c atlas_configs -s 1 -r 1 -m 1
- Start the Atlas service and bring up the UI.
For Reference:
