-1

我在我的 CDP 集群中添加了 Atlas,发现无法连接 Web UI。

在 application.log 中,我发现错误:找不到指定的配置集:vertex_index。

我按照以下链接中的说明进行操作,但仍然无法正常工作。有什么建议么?

https://issues.apache.org/jira/browse/AMBARI-18368

https://community.cloudera.com/t5/Support-Questions/Atlas-UI-not-available-Service-Unavailable/td-p/132435

这是application.log:

                              Atlas Server (STARTUP)

 

project.name: apache-atlas

project.description: Metadata Management and Data Governance Platform over Hadoop

build.user: jenkins

build.epoch: 1574150696506

project.version: 2.0.0.7.0.3.0-79

build.version: 2.0.0.7.0.3.0-79

vc.revision: cbb309de67ee0215efa0763f03c2f32f40f1d8f3

vc.source.url: scm:git:git://git.apache.org/atlas.git/atlas-webapp

######################################################################################## (Atlas:215)

2020-04-21 16:41:34,562 INFO  - [main:] ~ >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> (Atlas:216)

2020-04-21 16:41:34,562 INFO  - [main:] ~ Server starting with TLS ? false on port 31000 (Atlas:217)

2020-04-21 16:41:34,562 INFO  - [main:] ~ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< (Atlas:218)

2020-04-21 16:41:35,236 INFO  - [main:] ~ No authentication method configured.  Defaulting to simple authentication (LoginProcessor:102)

2020-04-21 16:41:35,315 WARN  - [main:] ~ Unable to load native-hadoop library for your platform... using builtin-java classes where applicable (NativeCodeLoader:60)

2020-04-21 16:41:35,397 INFO  - [main:] ~ Logged in user atlas (auth:SIMPLE) (LoginProcessor:77)

2020-04-21 16:41:36,202 INFO  - [main:] ~ Not running setup per configuration atlas.server.run.setup.on.start. (SetupSteps$SetupRequired:189)

2020-04-21 16:41:38,552 WARN  - [main:] ~ given scan urls are empty. set urls in the configuration (Reflections:181)

2020-04-21 16:41:38,635 WARN  - [main:] ~ org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder is configured without specifying system property 'java.security.auth.login.config' (Krb5HttpClientBuilder:142)

2020-04-21 16:41:39,523 INFO  - [main:] ~ ==> KafkaNotification() (KafkaNotification:105)

2020-04-21 16:41:39,524 INFO  - [main:] ~ <== KafkaNotification() (KafkaNotification:137)

2020-04-21 16:41:39,562 INFO  - [main:] ~ Creating indexes for graph. (GraphBackedSearchIndexer:286)

2020-04-21 16:41:40,629 INFO  - [main:] ~ Created index : vertex_index (GraphBackedSearchIndexer:291)

2020-04-21 16:41:40,645 INFO  - [main:] ~ Created index : edge_index (GraphBackedSearchIndexer:297)

2020-04-21 16:41:40,655 INFO  - [main:] ~ Created index : fulltext_index (GraphBackedSearchIndexer:303)

2020-04-21 16:41:40,775 ERROR - [main:] ~ GraphBackedSearchIndexer.initialize() failed (GraphBackedSearchIndexer:353)

org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://xxx:8983/solr: Can not find the specified config set: vertex_index

at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:627)

at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)

at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
4

1 回答 1

1

看来您必须在 Solr中创建vertex_index, 。edge_indexfulltext_index

在 Solr 中创建 3 个集合,对我来说它有效。

于 2020-04-23T07:10:09.280 回答