Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to resolve crash while loading data in Apache atlas using quick_start.py script?

avatar

Hello,

I am setting apache atlas on EC2. When I tried command " bin/quick_start.py" it ask for username/password.

I provide admin/admin. It took a while and than gives this crashlog.

apache-atlas-0.9-incubating-SNAPSHOT$ bin/quick_start.py

Enter username for atlas :-

sam

Enter password for atlas :-

123

=========Crash Log================

Exception in thread "main" java.lang.IllegalArgumentException: None of the passed URLs are active org.apache.atlas.AtlasServerEnsemble@40ef3420

at org.apache.atlas.AtlasBaseClient.determineActiveServiceURL(AtlasBaseClient.java:207)

at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:152)

at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:140)

at org.apache.atlas.AtlasBaseClient.<init>(AtlasBaseClient.java:96)

at org.apache.atlas.AtlasClientV2.<init>(AtlasClientV2.java:105)

at org.apache.atlas.examples.QuickStartV2.<init>(QuickStartV2.java:179)

at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:141)

at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:132)

Caused by: org.apache.atlas.AtlasServiceException: Metadata service API GET : api/atlas/admin/status failed

at org.apache.atlas.AtlasBaseClient.selectActiveServerAddress(AtlasBaseClient.java:228)

at org.apache.atlas.AtlasBaseClient.determineActiveServiceURL(AtlasBaseClient.java:204)

... 7 more

Caused by: java.lang.RuntimeException: Could not find any active instance

... 9 more

No sample data added to Apache Atlas Server.

Please guide If any one has any idea about it.

32 REPLIES 32

avatar

Hello @Nixon Rodrigues

Thanks for your help, it works with mvn clean package -Pdist,berkeley-elasticsearch

Now I am trying to load code base in eclipse and all dependencies have been resolved but in atlas-webapp.

In setup code in eclipse guide following line is mention:

a. File - Import - Maven - Existing Maven Projects b. Browse to your Atlas folder c. Uncheck the root project and non-Java projects such as dashboardv2, docs and distro, then click Finish

But if I don't import dashboardv2 in eclipse atlas-webapp gives following error:

Failed to execute goal on project atlas-webapp: Could not resolve dependencies for project org.apache.atlas:atlas-webapp:war:0.9-incubating-SNAPSHOT: Failure to find org.apache.atlas:atlas-dashboardv2:war:0.9-incubating-SNAPSHOT

Can you guide me on this?

avatar
Expert Contributor

@Naseem Rafique Good Atlas is up and working with berkeley-elasticsearch profile , hbase-solr profile also should work.

I use ideaInteliJ as IDE and do packaging from cmd line, so not aware of this eclipse issue,

I would recommend that you close this thread and open a new topic of eclipse issue where developer having good knowledge.

Nixon

avatar

Hi Guys, i am trying same thing on my MAC OSX EI Capitan 10.11.3 with 8GB RAM, SSD, when i run atlas_start.py it just says "Apache Atlas Server started!!!" no other message and then when i run quick_start.py script it ask for user name and password but on type creation throws an exception. for details look at screen-shot-2017-04-17-at-115554-am.png