[ https://issues.apache.org/jira/browse/SLIDER-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
kyungwan nam updated SLIDER-1063: --------------------------------- Attachment: SLIDER-1063.002_develop.patch I found a problem in my patch. AttributeError will be occured if allowed_ports is not set. I'm attaching a new patch to fix it. > 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)