Thanks very much David. That sheds more light into how the command can be
used in other scenarios.

Thanks,
Alex

On Thu, Apr 30, 2015 at 2:09 PM, David Kewley <dkew...@maprtech.com> wrote:

> One generally useful form of this command, for cases where you want to act
> on all running drillbits (will work in the sandbox, or in a huge cluster):
>
> maprcli node services -name drill-bits -action stop -filter
> csvc==drill-bits
>
>
> This says "stop the drill-bits service on all nodes in this cluster that
> are configured to run the service drill-bits". Note that "csvc" is an
> abbreviation for "configured service", or "service that is configured to
> run on specific node". You don't need to know the node names in order to
> run this form of the command.
>
> In addition to stop, you can do start or restart. There will be times that
> this is not the form of the command that you need, but I find that >90% of
> the time, this form is very handy.
>
> David
>
> David Kewley | Sr. Field Enablement Engineer | MapR Technologies
> <http://www.mapr.com/> | 949-791-7668
>
> On Thu, Apr 30, 2015 at 1:38 PM, Alexander Zarei <
> alexanderz.si...@gmail.com
> > wrote:
>
> > Thank you very much everyone! The revised command worked as follows:
> >
> > *maprcli node services -name drill-bits -action stop -nodes 'maprdemo'*
> >
> > given maprdemo is my hostname.
> >
> > Thanks,
> > Alex
> >
> > On Wed, Apr 29, 2015 at 5:49 PM, Chun Chang <cch...@maprtech.com> wrote:
> >
> > > Actually it should be:
> > >
> > > maprcli node services -name drill-bits -action stop -nodes `hostname
> -f`
> > >
> > > Sorry about that.
> > >
> > > On Tue, Apr 28, 2015 at 6:01 PM, Chun Chang <cch...@maprtech.com>
> wrote:
> > >
> > > > Run the following cmd to stop the old drillbit:
> > > >
> > > > maprcli node services -name Drill -action stop -nodes `hostname -f`
> > > >
> > > > On Tue, Apr 28, 2015 at 5:27 PM, Alexander Zarei <
> > > > alexanderz.si...@gmail.com> wrote:
> > > >
> > > >> Hi everyone,
> > > >>
> > > >> I am wondering if you could help me stop the drillbit in MapR
> sandbox
> > as
> > > >> it
> > > >> keeps starting again by default.
> > > >>
> > > >> I build Drill from source from github and want to start it but the
> > > default
> > > >> (older) drill keeps running avoiding the start of the new drillbit.
> > > >>
> > > >> Thanks for your time and help!
> > > >>
> > > >> Thanks,
> > > >> Alex
> > > >>
> > > >
> > > >
> > >
> >
>

Reply via email to