Member since
10-31-2016
62
Posts
3
Kudos Received
0
Solutions
02-08-2017
11:24 AM
The command mentioned above is showing the correct version, so thank you so much! 🙂
... View more
02-08-2017
11:23 AM
Yes it did work and added the sample data and entities to the server! Thank you so much for the suggestions! Using username admin and password admin did work! 🙂
... View more
02-08-2017
11:17 AM
Also when I try to run the following command curl -v <a href="http://localhost:21000/api/atlas/admin/version">http://localhost:21000/api/atlas/admin/version</a> to check that the server is running and its version it is giving me the following error: * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 21000 (#0) > GET /api/atlas/admin/version HTTP/1.1 > User-Agent: curl/7.35.0 > Host: localhost:21000 > Accept: */* > < HTTP/1.1 401 Full authentication is required to access this resource < Date: Wed, 08 Feb 2017 11:14:58 GMT
< Set-Cookie: ATLASSESSIONID=154eke7lzmtrf1vhnfhxd5ivml;Path=/;HttpOnly < X-Frame-Options: DENY < WWW-Authenticate: Basic realm="atlas.com"
< Content-Type: text/html; charset=ISO-8859-1 < Cache-Control: must-revalidate,no-cache,no-store
< Content-Length: 399
* Server Jetty(9.2.12.v20150709) is not blacklisted < Server: Jetty(9.2.12.v20150709) < <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 401 Full authentication is required to access this resource</title> </head> <body><h2>HTTP ERROR 401</h2> <p>Problem accessing /api/atlas/admin/version. Reason: <pre> Full authentication is required to access this resource</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html> * Connection #0 to host localhost left intact
... View more
02-08-2017
11:09 AM
I am following the tutorial: http://atlas.incubator.apache.org/InstallationSteps.html for installing an embedded hbase and solr configuration for atlas. I have built and installed as the steps suggest in the tutorial above and when I start the server using command bin/atlas-start.py I get the following: hduser@ubuntu:~/atlas/distro/target/apache-atlas-0.8-incubating-SNAPSHOT-bin/apache-atlas-0.8-incubating-SNAPSHOT$ bin/atlas_start.py configured for local hbase. hbase started. configured for local solr. solr started.
setting up solr collections... Apache Atlas Server started!!! When I try to run the command bin/quick_start.py to add sample model and data I am getting the following error: hduser@ubuntu:~/atlas/distro/target/apache-atlas-0.8-incubating-SNAPSHOT-bin/apache-atlas-0.8-incubating-SNAPSHOT$ bin/quick_start.py Enter username for atlas :-
bilal Enter password for atlas :-
bilal Creating sample types: Exception in thread "main" org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasBaseClient$APIInfo@35612e7c failed with status 401 (Unauthorized) Response Body (<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 401 Username not found.bilal</title> </head> <body><h2>HTTP ERROR 401</h2> <p>Problem accessing /api/atlas/v2/types/typedefs/. Reason: <pre> Username not found.bilal</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html> ) at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:327)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:419)
at org.apache.atlas.AtlasTypedefClientV2.createAtlasTypeDefs(AtlasTypedefClientV2.java:147)
at org.apache.atlas.examples.QuickStartV2.createTypes(QuickStartV2.java:206)
at org.apache.atlas.examples.QuickStartV2.runQuickstart(QuickStartV2.java:153)
at org.apache.atlas.examples.QuickStartV2.main(QuickStartV2.java:138) No sample data added to Apache Atlas Server. Can anyone kindly suggest what is the way around? Any help will be highly appreciated! Kindly find the logs here: atlas-logs-exception-in-main-thread.txt
... View more
Labels:
- Labels:
-
Apache Atlas
02-06-2017
02:35 PM
@Nixon Rodrigues please excuse me for my naivety, i can't seem to understand how to connect to zookeeper from zkCli.sh! Any help would be highly appreciated!
... View more
02-02-2017
11:35 AM
@rishi when I run the commands to ensure that altas is running and bind to the correct port I get the following - screenshot attached The /var/log/atlas/application.log is in the link here: /var/log/atlas/application.log
... View more
01-31-2017
04:35 PM
Dear @anaik, I tried to do the installation from scratch and this time when I tried to start the server I got the following response (image attached), but then again when I try to run the commands you suggested 'curl -sivk -u admin:admin http://localhost:21000/api/atlas/admin/version' It is giving me the same response as the image in the above mentioned comment!
... View more
01-30-2017
10:16 AM
Link to the above mentioned files I am using Ubuntu 14.04 on a VM.
... View more
01-27-2017
03:44 PM
@Nixon Rodrigues I have disabled the firewall for now to see if it works but it is still giving the following:
... View more
01-27-2017
12:50 PM
@Nixon Rodrigues I tried adding the env variables to .bashrc and started atlas. It is still giving me the following: hduser@bilal-VirtualBox:~/atlas/distro/target/apache-atlas-0.8-incubating-SNAPSHOT-bin/apache-atlas-0.8-incubating-SNAPSHOT$ bin/atlas_start.py Apache Atlas Server started!!! hduser@bilal-VirtualBox:~/atlas/distro/target/apache-atlas-0.8-incubating-SNAPSHOT-bin/apache-atlas-0.8-incubating-SNAPSHOT$ curl -v http://localhost:21000/api/atlas/admin/version
* Hostname was NOT found in DNS cache * Trying 127.0.0.1...
* connect to 127.0.0.1 port 21000 failed: Connection refused * Failed to connect to localhost port 21000: Connection refused * Closing connection 0
curl: (7) Failed to connect to localhost port 21000: Connection refused
... View more