无法将样本数据导入Apache地图集

时间:2019-05-10 09:50:46

标签: apache-atlas

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

现在,使用以下命令将示例数据导入到Apache地图集时

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_STEWARD DATA_SCIENTIST 用户组,但结果是相同的。 / p>

1 个答案:

答案 0 :(得分:0)

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

默认用户名:管理员(区分大小写)

密码:管理员

一旦您安装了Apache地图集,请首先检查Zookeeper服务器状态,并且不要更改任何用户配置。

感谢您的帮助