You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2016/05/07 15:07:12 UTC

[jira] [Commented] (SLIDER-1063) duplicated port allocation when slider.allowed.ports is set

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

Gour Saha commented on SLIDER-1063:
-----------------------------------

I reviewed the SLIDER-1063.002_develop.patch and it looks good. Thank you for writing a test for it as well. All agent tests run fine too.

+1 for it. Checkin it in right now.

Thank you [~kyungwan nam] for the patch.

> duplicated port allocation when slider.allowed.ports is set 
> ------------------------------------------------------------
>
>                 Key: SLIDER-1063
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1063
>             Project: Slider
>          Issue Type: Bug
>    Affects Versions: Slider 0.81
>            Reporter: kyungwan nam
>         Attachments: SLIDER-1063.002_develop.patch, SLIDER-1063_develop.patch
>
>
> duplicated port is allocated when i start a storm-slider-app that site.global.slider.allowed.ports is set to "6700-9999"
> here is a SUPERVISOR container slider-agent.log 
> {code}
> NFO 2016-01-15 18:06:12,176 CustomServiceOrchestrator.py:493 - Allowed port values: [6915, 8173, 9375, 7797, 7224]
> WARNING 2016-01-15 18:06:12,176 CustomServiceOrchestrator.py:494 - Invalid port range values: set([])
> INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:318 - Assigning port 0 for ${NIMBUS.ALLOCATED_PORT}
> INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:318 - Assigning port 0 for ${STORM_UI_SERVER.ALLOCATED_PORT}
> INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
> INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
> INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
> INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
> INFO 2016-01-15 18:06:12,179 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
> INFO 2016-01-15 18:06:12,179 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
> {code}



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