atlas
atlas copied to clipboard
Atlas Authentication
Hello!
How is authentication supposed to be handled when accessing:
./bin/atlasclient --c=importmysql --mysqlhost=instance-35947.bigstep.io --password=password --username=root --db=default -createHiveTables -genLineage
I edited the atlasclient script to point to my atlas host: http://hostname:port/, but when I am trying to run the command specified above I get the following error:
db default null org.apache.atlas.AtlasServiceException: Metadata service API LIST_TYPES failed with status 401(Unauthorized) Response Body (
HTTP ERROR 401
Problem accessing /api/atlas/types. Reason:
Full authentication is required to access this resource
Powered by Jetty://
) at org.apache.atlas.AtlasClient.callAPIWithResource(AtlasClient.java:359) at org.apache.atlas.AtlasClient.callAPI(AtlasClient.java:364) at org.apache.atlas.AtlasClient.listTypes(AtlasClient.java:169) at com.hortonworks.atlas.adapter.AtlasTableInterface.
How can I fix it?
I also had this same issue. Can you please guide if you found solution of this issue. Thank you.