Attila Doroszlai created RANGER-5514:
----------------------------------------

             Summary: Ranger Admin expects hostname ranger-admin.rangernw
                 Key: RANGER-5514
                 URL: https://issues.apache.org/jira/browse/RANGER-5514
             Project: Ranger
          Issue Type: Bug
          Components: docker
    Affects Versions: 2.8.0
            Reporter: Attila Doroszlai


Ranger Admin docker image can only be used if hostname is set to 
{{ranger-admin.rangernw}}, otherwise we get the following errors:

{code}
An exception occured: HTTPConnectionPool(host='ranger-admin.rangernw', 
port=6080): Max retries exceeded with url: 
/service/public/v2/api/service/name/dev_hdfs (Caused by 
NameResolutionError("HTTPConnection(host='ranger-admin.rangernw', port=6080): 
Failed to resolve 'ranger-admin.rangernw' ([Errno -2] Name or service not 
known)"))
An exception occured: HTTPConnectionPool(host='ranger-admin.rangernw', 
port=6080): Max retries exceeded with url: 
/service/public/v2/api/service/name/dev_yarn (Caused by 
NameResolutionError("HTTPConnection(host='ranger-admin.rangernw', port=6080): 
Failed to resolve 'ranger-admin.rangernw' ([Errno -2] Name or service not 
known)"))
...
{code}

There should be no such restriction, Ranger Admin contaner should use 
{{localhost}} to access itself during setup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to