[
https://issues.apache.org/jira/browse/SLIDER-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty updated SLIDER-524:
---------------------------------
Assignee: Sumit Mohanty
> AgentProviderService.processAllocatedPorts doesn't handle array of ports
> ------------------------------------------------------------------------
>
> Key: SLIDER-524
> URL: https://issues.apache.org/jira/browse/SLIDER-524
> Project: Slider
> Issue Type: Bug
> Reporter: Jonathan Maron
> Assignee: Sumit Mohanty
>
> For an appConfig.json entry such as:
> "site.storm-site.supervisor.slots.ports":
> "[${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER},${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}]",
> The code fails as follows:
> 14/10/15 16:39:34 INFO agent.AgentProviderService: Recording allocated port
> for storm-site.supervisor.slots.ports as [46877,58924]
> 14/10/15 16:39:34 WARN agent.AgentProviderService: Failed to parse
> [46877,58924]: java.lang.NumberFormatException: For input string:
> "[46877,58924]"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)