[ 
https://issues.apache.org/jira/browse/SLIDER-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Israel updated SLIDER-1097:
-------------------------------
    Attachment: SLIDER-1097.patch

Added a proposed fix:
I tested on a system where the firewall was up and slider apps were restricted 
to a range of ports configured in appConfig.json.  So, the code should work as 
is (at least on 0.81.1)

Also added a couple of basic unit tests:
The path where the SSLConnector ports are randomly chosen is no longer tested.  
In order to stick within the existing test structure, it seemed to be one or 
the other.  Alternatively, I could have refactored the Test class.  Wasn't sure 
if it was worth it.  I'm open to guidance here. 

Thanks,
Tim



> Agent Web App does not respect slider.allowed.ports 
> ----------------------------------------------------
>
>                 Key: SLIDER-1097
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1097
>             Project: Slider
>          Issue Type: Bug
>          Components: appmaster
>    Affects Versions: Slider 0.81
>         Environment: Hadoop 2.6.0
>            Reporter: Tim Israel
>         Attachments: SLIDER-1097.patch
>
>
> In Slider 0.81.1-incubating Agent Web App does not respect 
> slider.allowed.ports.  Instead, it allocated two random ports (one for 1-way 
> ssl, one for 2-way ssl) 
> This is particularly problematic for installs where firewalls are required.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to