Created 03-24-2017 10:02 AM
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.
Created 03-27-2017 11:06 AM
can you check if this env variable are set properly on cmdline
echo $JAVA_HOME
echo $MANAGE_LOCAL_SOLR
echo $MANAGE_LOCAL_HBASE
Also can you provide atlas-application.log
Created 03-27-2017 09:59 AM
These vars are already added in the script.
I have re build the whole process but still getting same error on bin/quick_start.py command also please tell me what username and password should I set?
Enter username for atlas :-
Enter password for atlas :-
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.
Created 03-27-2017 11:46 AM
Please find attached application log file. Following is the output if echo.
echo $MANAGE_LOCAL_SOLR : true
echo $MANAGE_LOCAL_HBASE : true
echo $JAVA_HOME : /usr/lib/jvm/java-8-oracle/jre/bin/java
application-log.txtCreated 03-27-2017 12:07 PM
Also look into atlas-propertiws and atlas-env file might be i am missing something there.atlas-applicationproperties.txt, atlas-env.txt
Created 03-27-2017 12:02 PM
Your $JAVA_HOME={/usr/lib/jvm/java-8-oracle/jre/bin/java} path is set wrong.
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
Please validated.
Created 03-27-2017 03:02 PM
Do I need to install Ambari cluster on EC2 as well in order to make Atlas work or it can work without Ambari?
Created 03-27-2017 03:56 PM
Atlas can run in standlone env also, Best if you can use HDP with Ambari, where you can use array of hadoop products such hdfs,kafka,sqoop,storm,ranger etc. Ambari will help you a lot in installation and configaration.
Created 03-29-2017 09:41 AM
There is progress in the setup, now I am getting following logs when I execute bin/atlas-start.py
configured for local hbase.
hbase started.
configured for local solr.
solr started.
setting up solr collections...
Apache Atlas Server started!!!
But now port 21000 is not open. I have attached the log file, can you look at that.
bin/quick_start.py
Enter username for atlas :-
admin
Enter password for atlas :-
admin
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.
Created 03-29-2017 11:01 AM
From atlas_start.py console logs hbase and solr are started, check whether you are able to create table in hbase
Also Please check whether you are allowed to open port with 21000 range on ec2 instance.
Created 03-29-2017 12:09 PM
Yes I am able to create tables and insert data in hbase.
Yes currently all ports are open, but not able to open port 21000.