You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Chengeng Ou <cg...@freewheel.tv> on 2016/11/15 08:39:16 UTC

Can slider stop/start instance on a specific node

Hi,guys.
I’m new to Slider world and use slider to deploy koya(kafka).
I wonder can I stop or start a KAFKA_BROKER on a specific node. Since there may be some problems with the host, I have to stop the broker on that host, but not on all hosts. And current stop/start command will stop/start all brokers.
How can I achieve that, if not, will future version support this feature.

Thanks,
Chengeng ou

Re: Can slider stop/start instance on a specific node

Posted by Gour Saha <gs...@hortonworks.com>.
Yes, it will right away (if there is sufficient resource in the cluster).
If it is a production Slider Kafka app you are running, try bringing up a
new test app and try it out on it. This will ensure no other YARN
configuration is going to result in killing the production app.

-Gour

On 11/15/16, 2:34 AM, "Chengeng Ou" <cg...@freewheel.tv> wrote:

>Thanks. 
>After slider kill container, will it attempt to restart a container
>before reaches slider.yarn.restart.limit?
>
>在 16/11/15 18:24,“Tim I”<ti...@timisrael.com> 写入:
>
>    Would killing the container for that specific broker be an acceptable
>    solution?
>    
>    
>https://slider.incubator.apache.org/docs/manpage.html#kill-container-name-
>id-container-id
>    
>    Tim
>    
>    On Nov 15, 2016 3:39 AM, "Chengeng Ou" <cg...@freewheel.tv> wrote:
>    
>    > Hi,guys.
>    > I’m new to Slider world and use slider to deploy koya(kafka).
>    > I wonder can I stop or start a KAFKA_BROKER on a specific node.
>Since
>    > there may be some problems with the host, I have to stop the broker
>on that
>    > host, but not on all hosts. And current stop/start command will
>stop/start
>    > all brokers.
>    > How can I achieve that, if not, will future version support this
>feature.
>    >
>    > Thanks,
>    > Chengeng ou
>    >
>    
>


Re: Can slider stop/start instance on a specific node

Posted by Chengeng Ou <cg...@freewheel.tv>.
Thanks. 
After slider kill container, will it attempt to restart a container before reaches slider.yarn.restart.limit?

在 16/11/15 18:24,“Tim I”<ti...@timisrael.com> 写入:

    Would killing the container for that specific broker be an acceptable
    solution?
    
    https://slider.incubator.apache.org/docs/manpage.html#kill-container-name-id-container-id
    
    Tim
    
    On Nov 15, 2016 3:39 AM, "Chengeng Ou" <cg...@freewheel.tv> wrote:
    
    > Hi,guys.
    > I’m new to Slider world and use slider to deploy koya(kafka).
    > I wonder can I stop or start a KAFKA_BROKER on a specific node. Since
    > there may be some problems with the host, I have to stop the broker on that
    > host, but not on all hosts. And current stop/start command will stop/start
    > all brokers.
    > How can I achieve that, if not, will future version support this feature.
    >
    > Thanks,
    > Chengeng ou
    >
    


Re: Can slider stop/start instance on a specific node

Posted by Tim I <ti...@timisrael.com>.
Would killing the container for that specific broker be an acceptable
solution?

https://slider.incubator.apache.org/docs/manpage.html#kill-container-name-id-container-id

Tim

On Nov 15, 2016 3:39 AM, "Chengeng Ou" <cg...@freewheel.tv> wrote:

> Hi,guys.
> I’m new to Slider world and use slider to deploy koya(kafka).
> I wonder can I stop or start a KAFKA_BROKER on a specific node. Since
> there may be some problems with the host, I have to stop the broker on that
> host, but not on all hosts. And current stop/start command will stop/start
> all brokers.
> How can I achieve that, if not, will future version support this feature.
>
> Thanks,
> Chengeng ou
>