You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "xiajun (JIRA)" <ji...@apache.org> on 2014/11/27 04:42:13 UTC

[jira] [Comment Edited] (STORM-564) Support worker use dynamic port

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

xiajun edited comment on STORM-564 at 11/27/14 3:41 AM:
--------------------------------------------------------

[~sriharsha] set supervisor slots to 0, worker will bind dynamic port, but how can you inform other worker this information, I have no idea or apache slider, can you give the link for your storm on yarn, based on https://github.com/yahoo/storm-yarn, we need to do some other work, thank you very much.


was (Author: tedxia):
[~sriharsha] can you give the link for your storm on yarn, based on https://github.com/yahoo/storm-yarn, we need to do some other work, thank you very much.

> Support worker use dynamic port
> -------------------------------
>
>                 Key: STORM-564
>                 URL: https://issues.apache.org/jira/browse/STORM-564
>             Project: Apache Storm
>          Issue Type: Improvement
>    Affects Versions: 0.10.0
>            Reporter: xiajun
>            Assignee: xiajun
>            Priority: Minor
>
> Background: When deploy storm mixed with other services, or deploy storm by yarn and mesos or some other scheduling system, worker port conflict is really a big problem.
> In order to fix this, we add worker.dynamic.port to indicate whether worker bind dynamic port or not.
> When set worker.dynamic.port as true, worker will use port that specified by supervisor.slots.ports;
> When set worker.dynamic.port as false, worker will bind 0, and the port that specified by supervisor.slots.ports will be nominally port in storm, which stand for worker really bind port.
> And when worker launched, worker will report it's really bind port by heartbeat, and nimbus send worker's bind port by assignment.



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