Configuring Apache Atlas
Also available as:
PDF

Configure the Knox proxy for Atlas

You can avoid exposing Atlas hosts and ports by using Apache Knox as a proxy.

  1. On the Ambari Dashboard, select Knox > Configs > Advanced Topology, then add the following services:
    <service>
      <role>ATLAS-API</role>
      <url><atlas-server-host>:21000</url>
    </service>
    
    <service>
      <role>ATLAS</role>
      <url><atlas-server-host>:21000</url>
    </service>
  2. Click Save to save the new configuration, then click Restart > Restart All Affected to restart Knox.
  3. With the Knox proxy enabled, use the following URL format to access the Atlas Dashboard:
    https://<knox-gateway-host>:<knox-gateway-port>/<gateway-path>/<topology>/atlas/index.html 

    For example:

    https://<knox-gateway-host>:8443/gateway/ui/atlas/index.html

    Use the following format to access the Atlas REST API:

    https://<knox-gateway-host>:<knox-gateway-port>/<gateway-path>/<topology>/atlas/

    For example:

    curl -i -k -L -u admin:admin -X GET \
    'https://<knox-gateway-host>:8443/gateway/{topology}/atlas/api/atlas/v2/types/typedefs?type=classification&_=1495442879421'
    Note
    Note
    • Apache Atlas HA (High Availability) is not supported with the Atlas Knox proxy.

    • Knox SSO is supported with the Atlas Knox proxy, but is not required.