[ 
https://issues.apache.org/jira/browse/RANGER-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065435#comment-18065435
 ] 

Abhishek Kumar commented on RANGER-5514:
----------------------------------------

Bringing up ranger-admin container is documented here: 
[https://hub.docker.com/r/apache/ranger] 

hostname is an arg that is passed to docker run, have you tried using different 
hostname when bringing up the ranger container?




 

> 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
>            Priority: Major
>
> 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