1

我在以下 URL https://github.com/michalmiklas/atlas-docker的帮助下使用 docker 安装了 Apache atlas

现在,在使用以下命令将示例数据导入 apache atlas 时,

bash-4.4# ./apache-atlas/bin/quick_start.py  http://localhost:21000/

它抛出以下错误

Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@30f842ca failed with status 403 (Forbidden) Response Body ({"errorCode":"ATLAS-403-00-001","errorMessage":"bird is not authorized to perform create classification-def Dimension"})
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:395)
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
        at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs(AtlasClientV2.java:227)
        at org.apache.atlas.examples.QuickStartV2.createTypes(QuickStartV2.java:185)
        at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:141)
        at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:126)
No sample data added to Apache Atlas Server.

以下是总日志供您参考。

 ./bin/apache-atlas/bin/quick_start.py  http://localhost:21000/
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.
Enter username for atlas :- bird
Enter password for atlas :-

Creating sample types:
Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@30f842ca failed with status 403 (Forbidden) Response Body ({"errorCode":"ATLAS-403-00-001","errorMessage":"bird is not authorized to perform create classification-def Dimension"})
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:395)
        at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:211)
        at org.apache.atlas.AtlasClientV2.createAtlasTypeDefs(AtlasClientV2.java:227)
        at org.apache.atlas.examples.QuickStartV2.createTypes(QuickStartV2.java:185)
        at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:141)
        at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:126)
No sample data added to Apache Atlas Server.

JFI,bird是管理员用户组用户,我也尝试过使用DATA_STEWARDDATA_SCIENTIST用户组,但结果是一样的。

4

1 回答 1

2

用户必须使用现有的用户名和密码将数据导入 APACHE-ATLAS。

默认用户名:admin(区分大小写)

密码:管理员

安装 Apache Atlas 后,首先检查 Zookeeper 服务器状态,不要更改任何用户配置。

谢谢你的帮助

于 2019-05-10T13:19:37.573 回答