[
https://issues.apache.org/jira/browse/SLIDER-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Maron updated SLIDER-558:
----------------------------------
Attachment: SLIDER-558.001.patch
Uploaded patch has following approach:
1) allowed ports value is now a general, global value applicable to AM and
containers (used to be an AM component property)
2) Range can be specified as a comma delimited list of individual values and
hyphenated ranges
3) AM iterates thru the range to find an available port
4) I've maintained the 5 attempt socket acquisition limit that was in the
agent code. Therefore, the agent picks 5 port values (MAX_ATTEMPTS) maximum
(less if the range is too small) at random from the provided range and tests
them.
> Need ability to specify container port ranges similar to AM (Slider-505)
> ------------------------------------------------------------------------
>
> Key: SLIDER-558
> URL: https://issues.apache.org/jira/browse/SLIDER-558
> Project: Slider
> Issue Type: Bug
> Reporter: Jonathan Maron
> Assignee: Jonathan Maron
> Attachments: SLIDER-558.001.patch
>
>
> Port allocation range needs to be specified for containers as well as AM.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)