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

Pradeep Agrawal commented on RANGER-1442:
-----------------------------------------

Hi [~yujie.li] ,

Please do not mix the shutdown port with the start port. From the patch it 
seems you are proposing to assign value of property 'ranger.service.https.port' 
to shutdown port. I agree that shutdown property 'ranger.service.shutdown.port' 
is not there in ranger-admin-site.xml but its there in 
ranger-admin-default-site.xml. In Ranger 0.6 version of EmbeddedServer.java 
'ranger-admin-default-site.xml' in not being read and that's why it seems an 
issue.

To solve this issue you can add below property in your ranger-admin-site.xml 
and restart Ranger. Apart from this property other properties of 
ranger-admin-default-site.xml can be overridden in ranger-admin-site.xml file. 
If a property is available at both file then value from ranger-admin-site.xml 
shall be used.
<property>
                <name>ranger.service.shutdown.port</name>
                <value>6185</value>
</property>

Please note that EmbeddedServer.java code of Ranger 0.7 branch has the 
provision to read value from both config file (ranger-admin-default-site.xml 
and ranger-admin-site.xml)


> https port not configurable
> ---------------------------
>
>                 Key: RANGER-1442
>                 URL: https://issues.apache.org/jira/browse/RANGER-1442
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 0.6.2
>            Reporter: Yujie Li
>             Fix For: 0.6.2
>
>         Attachments: 0001-RANGER-1442-https-port-not-configurable.patch
>
>
> Ranger doesn't take the https port value (default 6182) from 
> ranger-admin-site.xml and uses hardcoded value (6185) after enabling SSL



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to