atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Jones"<nigel.l.jo...@gmail.com>
Subject Re: Instructions to build & run Atlas in dev environment
Date Wed, 29 Nov 2017 13:58:03 GMT
On 2017-11-28 17:56, Sarath Subramanian <ssubramanian@hortonworks.com> wrote: 
> Thanks for the instructions Ashutosh and Madhan. I’m able to bring up atlas fine
and run Quickstart. 

I tried again today on macOS/jdk 1.8 (152), mvn 3.5.0 - same config & exact same script
as yesterday, and it worked

One change - I cleared out ~/.m2  ...

I *did not* add the oracle maven repo - partly as last I checked it required authentication
No sleepycat issue, which I think makes sense given that with this script berkeleyDB isn't
needed?

Anway I was able to bring up the UI, login, and was able to run quick start. That script did
hit a DSL error (not surprising), though was able to create new assets etc as expected. I've
not checked thoroughly though..

This is of course using titan 054, no unit tests, embedded hbase/solr

[INFO] Apache Atlas Hbase Bridge .......................... SUCCESS [ 14.008 s]
[INFO] Apache Atlas Distribution .......................... SUCCESS [03:59 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:12 min
[INFO] Finished at: 2017-11-29T13:47:22Z
[INFO] Final Memory: 406M/2264M
[INFO] ------------------------------------------------------------------------
configured for local hbase.
hbase started.
configured for local solr.
solr started.
setting up solr collections...
starting atlas on host localhost
starting atlas on port 21000
.....................................................
Apache Atlas Server started!!!

13:49 $ ./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.
Enter username for atlas :- admin
Enter password for atlas :- 

Creating sample types: 
Created type [DB]
Created type [Table]
Created type [StorageDesc]
Created type [Column]
Created type [LoadProcess]
Created type [View]
Created type [JdbcAccess]
Created type [ETL]
Created type [Metric]
Created type [PII]
Created type [Fact]
Created type [Dimension]
Created type [Log Data]

Creating sample entities: 
Created entity of type [DB], guid: c910e4fb-0a67-4f7a-8161-0b27ba5b825a
Created entity of type [DB], guid: a5ef1c53-f723-4148-ba6b-40b8b8bb752d
Created entity of type [DB], guid: 65979049-fbe7-436e-b452-a983984a7468
Created entity of type [StorageDesc], guid: 440f8da6-9e9c-4750-817f-b33a6bcdf118
Created entity of type [Column], guid: b03805a0-4af1-454f-a875-13c925f2ec80
Created entity of type [Column], guid: e438a790-7576-4ec8-a23b-2706ad429fd0
Created entity of type [Column], guid: 1f0f3f13-859d-47d6-8355-3449ac0e9ac6
Created entity of type [Column], guid: 18198d56-d774-4267-a438-85b7bcd7211b
Created entity of type [Column], guid: 97845b6e-bc6b-4098-b7b9-63f18eb2bec1
Created entity of type [Column], guid: 76f6bed3-b296-4e2c-b19c-1333f562e7de
Created entity of type [Column], guid: 4fb32362-38dc-47a4-a430-41c76881b0cc
Created entity of type [Column], guid: 356662d5-3c60-4c31-a745-796984773707
Created entity of type [Column], guid: cbe7928a-aeda-4edd-9b13-e411ff2d90fd
Created entity of type [Column], guid: a5618701-b143-4b5d-8ed8-99438ca8c1ff
Created entity of type [Column], guid: 178ee36a-9041-4587-b3d9-86cbdf988a47
Created entity of type [Column], guid: 1ffef989-078f-4ccd-b464-9633984724e3
Created entity of type [Column], guid: 7ccaae07-5740-46c2-8243-e1585c626f1f
Created entity of type [Column], guid: 667ecc9b-4b7b-4374-811e-74938c586bae
Created entity of type [Column], guid: 7ff43fad-ef45-4e31-bcf7-424c4da7e92a
Created entity of type [Column], guid: e81a0cc2-2f87-4092-bf77-8c249db93a45
Created entity of type [Column], guid: e7bead4c-0bf9-4060-95ba-74ebc97db2cb
Created entity of type [Table], guid: 4b9c053e-9ad7-4d8e-95c0-4177d170a454
Created entity of type [Table], guid: db3ae59b-1232-4c33-83f3-944850adfb81
Created entity of type [Table], guid: 4445ab41-732e-415d-aade-1a52e417d216
Created entity of type [Table], guid: c8cd4bf0-0f1c-465c-af39-16e45b14daf7
Created entity of type [Table], guid: 936874a7-eea7-468b-bfc8-02be78cbfabf
Created entity of type [Table], guid: b984e440-1725-43e9-8cf9-fa4359ed2c2e
Created entity of type [Table], guid: ab027940-b8cf-41ec-a604-b1f97a32e75e
Created entity of type [Table], guid: bc614afb-5de6-4b85-9249-8ee1417b5c4b
Created entity of type [View], guid: 8d5c84a6-8ff5-4d70-a237-0843c6f23569
Created entity of type [View], guid: b64a0106-3d04-4d88-b68a-6b8e59d8896d
Created entity of type [LoadProcess], guid: d30109bd-5c33-4284-a052-17d47fbc0585
Created entity of type [LoadProcess], guid: c6e32958-2df6-4b02-8a15-6ab5c9ca90a0
Created entity of type [LoadProcess], guid: ed53b549-b52f-4f73-b403-5e264b5899f2

Sample DSL Queries: 
Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasClientV2$API_V2@3b5fad2d
failed with status 500 (Internal Server Error) Response Body ({"errorCode":"ATLAS-500-00-004","errorMessage":"Discovery
query failed from DB"})
	at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:387)
	at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:320)
	at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:236)
	at org.apache.atlas.AtlasClientV2.dslSearchWithParams(AtlasClientV2.java:346)
	at org.apache.atlas.examples.QuickStartV2.search(QuickStartV2.java:508)
	at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:147)
	at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:126)
No sample data added to Apache Atlas Server.

Nigel.

Mime
View raw message