我已经安装Apache-Atlas
了embedded-hbase-solr
on 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)
任何帮助表示赞赏