You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Daisy Chen (Jira)" <ji...@apache.org> on 2019/10/10 22:16:00 UTC
[jira] [Assigned] (STORM-3518) configs for favored nodes and
unfavored nodes should support range of numbers
[ https://issues.apache.org/jira/browse/STORM-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daisy Chen reassigned STORM-3518:
---------------------------------
Assignee: Daisy Chen
> configs for favored nodes and unfavored nodes should support range of numbers
> -----------------------------------------------------------------------------
>
> Key: STORM-3518
> URL: https://issues.apache.org/jira/browse/STORM-3518
> Project: Apache Storm
> Issue Type: Improvement
> Reporter: Ethan Li
> Assignee: Daisy Chen
> Priority: Minor
>
> Apache Storm has two configs for topologies to choose favored nodes and unfavored nodes.
> https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/Config.java#L351
> {code:java}
> /**
> * A list of host names that this topology would prefer to be scheduled on (no guarantee is given though). This is intended for
> * debugging only.
> */
> @IsStringList
> public static final String TOPOLOGY_SCHEDULER_FAVORED_NODES = "topology.scheduler.favored.nodes";
> /**
> * A list of host names that this topology would prefer to NOT be scheduled on (no guarantee is given though). This is intended for
> * debugging only.
> */
> @IsStringList
> public static final String TOPOLOGY_SCHEDULER_UNFAVORED_NODES = "topology.scheduler.unfavored.nodes";
> {code}
> It only support plain text currently, for example
> {code:java}
> host1.yahoo.com
> host2.yahoo.com
> hostA3.yahoo.com
> hostA4.yahoo.com
> {code}
> It would be nice to be able to support ranges like
> {code:java}
> host[1-2].yahoo.com
> hostA[3-4].yahoo.com
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)