amazon-ec2solrhbaseapache-atlas

Connection refused for apache atlas server


I have setup apache atlas on EC2. After setup , I started the apache atlas using command python2 atlas_start.py and it successfully started with below log:

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!!!

However, when I try to hit the Server URL to verify if apache atlas is up and running. It gave me connection refused error. Below is the command I used to hit the server: curl -u username:password http://localhost:21000/api/atlas/admin/version

Also, while setup it didnt ask me for username and password SO, I am using admin:admin as username password.


Solution

  • There would be many reasons - do the following checks

    1. Please check the logs which would be in the logs directory based on how you have it setup. (if you just ran it through mvn)

    2. You need hbase(atleast) and solr/elastic/cassandra (atlas backends). Check if you are running embedded mode - where atlas will start its own backend. It is usually set as an environment variable. ie: MANAGE_LOCAL_HBASE

    3. Make sure atlas-application.properties have the right configurations before you start it.

      Hope this helps!

    EDIT: I noticed you mentioned ec2. Make sure you have configured the right security groups.