Не добавлены образцы данных в Apache Atlas Server- Apache Ошибка Atlas quick_start.py - PullRequest
0 голосов
/ 12 июля 2020

Я установил Apache -Atlas с embedded-hbase-solr на REHL. Я могу получить доступ к http:localhost: 21000 , но когда я запускаю / apache -atlas- sources-2.0.0 / distro / target / apache -atlas-2.0.0 / bin / quick_start.py выдает ошибку ниже.

log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout.
Enter username for atlas :- atlas
Enter password for atlas :-

Creating sample types:
Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@2507d7cd failed with status 401 (Unauthorized) Response Body ()
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:427)
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:353)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:229)
        at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs(AtlasClientV2.java:232)
        at org.apache.atlas.examples.QuickStartV2.createTypes(QuickStartV2.java:213)
        at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:163)
        at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:147)
No sample data added to Apache Atlas Server.

Ниже находится quick_start.log

2020-07-11 23:03:25,336 INFO  - [main:] ~ Looking for atlas-application.properties in classpath (ApplicationProperties:110)
2020-07-11 23:03:25,341 INFO  - [main:] ~ Loading atlas-application.properties from file:/apache-atlas-sources-2.0.0/distro/target/apache-atlas-2.0.0/conf/atlas-application.properties (ApplicationProperties:123)
2020-07-11 23:03:25,387 INFO  - [main:] ~ Using graphdb backend 'janus' (ApplicationProperties:273)
2020-07-11 23:03:25,399 INFO  - [main:] ~ Using storage backend 'hbase2' (ApplicationProperties:284)
2020-07-11 23:03:25,399 INFO  - [main:] ~ Using index backend 'solr' (ApplicationProperties:295)
2020-07-11 23:03:25,399 INFO  - [main:] ~ Setting solr-wait-searcher property 'true' (ApplicationProperties:301)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Setting index.search.map-name property 'false' (ApplicationProperties:305)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Property (set to default) atlas.graph.cache.db-cache = true (ApplicationProperties:318)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Property (set to default) atlas.graph.cache.db-cache-clean-wait = 20 (ApplicationProperties:318)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Property (set to default) atlas.graph.cache.db-cache-size = 0.5 (ApplicationProperties:318)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Property (set to default) atlas.graph.cache.tx-cache-size = 15000 (ApplicationProperties:318)
2020-07-11 23:03:25,400 INFO  - [main:] ~ Property (set to default) atlas.graph.cache.tx-dirty-size = 120 (ApplicationProperties:318)
2020-07-11 23:03:37,405 INFO  - [main:] ~ Client has only one service URL, will use that for all actions: http://localhost:21000 (AtlasBaseClient:321)
2020-07-11 23:03:37,930 INFO  - [main:] ~ method=POST path=api/atlas/v2/types/typedefs/ contentType=application/json; charset=UTF-8 accept=application/json status=401 (AtlasBaseClient:387)

Любая помощь приветствуется

1 Ответ

0 голосов
/ 12 июля 2020

Имя пользователя / пароль по умолчанию для Apache -Atlas: admin/admin.

Это настраивается из: conf/users-credentials.properties файла при использовании аутентификации на основе файлов.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...