[
https://issues.apache.org/jira/browse/SLIDER-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty resolved SLIDER-524.
----------------------------------
Resolution: Not a Problem
When exporting URLs slider only supports property names and expects the
property value be a valid port number that can be used. So when a property
includes port number but in format other than a single port number then it
cannot be used as a source or export.
> 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)