You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Ted Yu <yu...@gmail.com> on 2014/07/10 01:50:01 UTC

thaw with updated template

Hi,
I want to get your opinion on whether 'thaw' command should support the
specification of template, as in:
--template appConfig.json

The use case would be: user changes some (hbase) config values and wants
the new values to take effect when the cluster is thaw'ed.

Please comment.

Re: thaw with updated template

Posted by Jon Maron <jm...@hortonworks.com>.
I think Steve’s idea of a warning should suffice.

— Jon

On Jul 10, 2014, at 10:41 AM, Sumit Mohanty <sm...@apache.org> wrote:

> Separate option seems good. Should Slider block update if its a running
> cluster?
> 
> 
> On Thu, Jul 10, 2014 at 3:29 AM, Steve Loughran <st...@hortonworks.com>
> wrote:
> 
>> I think it might be a separate option, the way flex is.
>> 
>> something like
>> 
>> slider update cluster --template   {other args}
>> 
>> This would make it easier to patch things. It'd have to warn on a patch of
>> a running cluster "changes will not take effect", but otherwise just
>> load/patch/save the config(s)
>> 
>> 
>> 
>> 
>> On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:
>> 
>>> Hi,
>>> I want to get your opinion on whether 'thaw' command should support the
>>> specification of template, as in:
>>> --template appConfig.json
>>> 
>>> The use case would be: user changes some (hbase) config values and wants
>>> the new values to take effect when the cluster is thaw'ed.
>>> 
>>> Please comment.
>>> 
>> 
>> --
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity to
>> which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>> 


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: thaw with updated template

Posted by Ted Yu <yu...@gmail.com>.
Hi,
Please take a look at patch v3 and provide your comments.

Thanks

On Thu, Jul 10, 2014 at 10:32 AM, Ted Yu <yu...@gmail.com> wrote:

> Initial patch attached to SLIDER-223
>
> Please review.
>
>
>

Re: thaw with updated template

Posted by Ted Yu <yu...@gmail.com>.
Initial patch attached to SLIDER-223

Please review.


On Thu, Jul 10, 2014 at 8:25 AM, Sumit Mohanty <sm...@hortonworks.com>
wrote:

> It would get merged with the cluster config in the cluster instance config
> in HDFS.
>
>
> On Thu, Jul 10, 2014 at 7:46 AM, Ted Yu <yu...@gmail.com> wrote:
>
> > For separate option, where would updated template be stored ?
> >
> > Cheers
> >
> > On Jul 10, 2014, at 7:41 AM, Sumit Mohanty <sm...@apache.org> wrote:
> >
> > > Separate option seems good. Should Slider block update if its a running
> > > cluster?
> > >
> > >
> > > On Thu, Jul 10, 2014 at 3:29 AM, Steve Loughran <
> stevel@hortonworks.com>
> > > wrote:
> > >
> > >> I think it might be a separate option, the way flex is.
> > >>
> > >> something like
> > >>
> > >> slider update cluster --template   {other args}
> > >>
> > >> This would make it easier to patch things. It'd have to warn on a
> patch
> > of
> > >> a running cluster "changes will not take effect", but otherwise just
> > >> load/patch/save the config(s)
> > >>
> > >>
> > >>
> > >>
> > >> On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:
> > >>
> > >>> Hi,
> > >>> I want to get your opinion on whether 'thaw' command should support
> the
> > >>> specification of template, as in:
> > >>> --template appConfig.json
> > >>>
> > >>> The use case would be: user changes some (hbase) config values and
> > wants
> > >>> the new values to take effect when the cluster is thaw'ed.
> > >>>
> > >>> Please comment.
> > >>
> > >> --
> > >> CONFIDENTIALITY NOTICE
> > >> NOTICE: This message is intended for the use of the individual or
> > entity to
> > >> which it is addressed and may contain information that is
> confidential,
> > >> privileged and exempt from disclosure under applicable law. If the
> > reader
> > >> of this message is not the intended recipient, you are hereby notified
> > that
> > >> any printing, copying, dissemination, distribution, disclosure or
> > >> forwarding of this communication is strictly prohibited. If you have
> > >> received this communication in error, please contact the sender
> > immediately
> > >> and delete it from your system. Thank You.
> > >>
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Re: thaw with updated template

Posted by Sumit Mohanty <sm...@hortonworks.com>.
It would get merged with the cluster config in the cluster instance config
in HDFS.


On Thu, Jul 10, 2014 at 7:46 AM, Ted Yu <yu...@gmail.com> wrote:

> For separate option, where would updated template be stored ?
>
> Cheers
>
> On Jul 10, 2014, at 7:41 AM, Sumit Mohanty <sm...@apache.org> wrote:
>
> > Separate option seems good. Should Slider block update if its a running
> > cluster?
> >
> >
> > On Thu, Jul 10, 2014 at 3:29 AM, Steve Loughran <st...@hortonworks.com>
> > wrote:
> >
> >> I think it might be a separate option, the way flex is.
> >>
> >> something like
> >>
> >> slider update cluster --template   {other args}
> >>
> >> This would make it easier to patch things. It'd have to warn on a patch
> of
> >> a running cluster "changes will not take effect", but otherwise just
> >> load/patch/save the config(s)
> >>
> >>
> >>
> >>
> >> On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:
> >>
> >>> Hi,
> >>> I want to get your opinion on whether 'thaw' command should support the
> >>> specification of template, as in:
> >>> --template appConfig.json
> >>>
> >>> The use case would be: user changes some (hbase) config values and
> wants
> >>> the new values to take effect when the cluster is thaw'ed.
> >>>
> >>> Please comment.
> >>
> >> --
> >> CONFIDENTIALITY NOTICE
> >> NOTICE: This message is intended for the use of the individual or
> entity to
> >> which it is addressed and may contain information that is confidential,
> >> privileged and exempt from disclosure under applicable law. If the
> reader
> >> of this message is not the intended recipient, you are hereby notified
> that
> >> any printing, copying, dissemination, distribution, disclosure or
> >> forwarding of this communication is strictly prohibited. If you have
> >> received this communication in error, please contact the sender
> immediately
> >> and delete it from your system. Thank You.
> >>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: thaw with updated template

Posted by Ted Yu <yu...@gmail.com>.
For separate option, where would updated template be stored ?

Cheers

On Jul 10, 2014, at 7:41 AM, Sumit Mohanty <sm...@apache.org> wrote:

> Separate option seems good. Should Slider block update if its a running
> cluster?
> 
> 
> On Thu, Jul 10, 2014 at 3:29 AM, Steve Loughran <st...@hortonworks.com>
> wrote:
> 
>> I think it might be a separate option, the way flex is.
>> 
>> something like
>> 
>> slider update cluster --template   {other args}
>> 
>> This would make it easier to patch things. It'd have to warn on a patch of
>> a running cluster "changes will not take effect", but otherwise just
>> load/patch/save the config(s)
>> 
>> 
>> 
>> 
>> On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:
>> 
>>> Hi,
>>> I want to get your opinion on whether 'thaw' command should support the
>>> specification of template, as in:
>>> --template appConfig.json
>>> 
>>> The use case would be: user changes some (hbase) config values and wants
>>> the new values to take effect when the cluster is thaw'ed.
>>> 
>>> Please comment.
>> 
>> --
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity to
>> which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>> 

Re: thaw with updated template

Posted by Sumit Mohanty <sm...@apache.org>.
Separate option seems good. Should Slider block update if its a running
cluster?


On Thu, Jul 10, 2014 at 3:29 AM, Steve Loughran <st...@hortonworks.com>
wrote:

> I think it might be a separate option, the way flex is.
>
> something like
>
> slider update cluster --template   {other args}
>
> This would make it easier to patch things. It'd have to warn on a patch of
> a running cluster "changes will not take effect", but otherwise just
> load/patch/save the config(s)
>
>
>
>
> On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:
>
> > Hi,
> > I want to get your opinion on whether 'thaw' command should support the
> > specification of template, as in:
> > --template appConfig.json
> >
> > The use case would be: user changes some (hbase) config values and wants
> > the new values to take effect when the cluster is thaw'ed.
> >
> > Please comment.
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>

Re: thaw with updated template

Posted by Steve Loughran <st...@hortonworks.com>.
I think it might be a separate option, the way flex is.

something like

slider update cluster --template   {other args}

This would make it easier to patch things. It'd have to warn on a patch of
a running cluster "changes will not take effect", but otherwise just
load/patch/save the config(s)




On 10 July 2014 00:50, Ted Yu <yu...@gmail.com> wrote:

> Hi,
> I want to get your opinion on whether 'thaw' command should support the
> specification of template, as in:
> --template appConfig.json
>
> The use case would be: user changes some (hbase) config values and wants
> the new values to take effect when the cluster is thaw'ed.
>
> Please comment.
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.