Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 528E818916 for ; Thu, 30 Apr 2015 22:30:04 +0000 (UTC) Received: (qmail 66556 invoked by uid 500); 30 Apr 2015 22:30:04 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 66499 invoked by uid 500); 30 Apr 2015 22:30:04 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 66487 invoked by uid 99); 30 Apr 2015 22:30:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:30:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for dev@drill.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 22:29:58 +0000 Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 5F9604735C for ; Thu, 30 Apr 2015 22:29:38 +0000 (UTC) Received: by iedfl3 with SMTP id fl3so88671426ied.1 for ; Thu, 30 Apr 2015 15:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Lbax9cX3cj9CO3BVCm1LaT922D3vux3x1I6O5XSoCeo=; b=wm9UirD5lVx3diY91GqqAvD0hbyqjawjY3871BJBECBPzQELfpDLp0hxV2iwz/LdMv SpCt/omH+KjlS5Bq7ov0cx/4eFBPEaI7NBt6EjnJFUN/PCN0PxT/O1Ym1OtxItQ56UCQ 4x/B0Ep+h8O3ksGfScJ88xhuPU3+plICgbefasNEC5DQjG7fp0ToXijJtl++6OzETWJh ywThQnNaSMYX1JARZQ2fkZvuDMNs5K1NyqVtHCfQ6qlJtyH2GhiVUo+0tsr7EqjTZySF nh0NhYwK+Amu9B9xs/ZZbhgcF8L2p4kDdtvg2kSSCvOrh51hke9qUsY6CcWWlAhHRcBk /oZA== MIME-Version: 1.0 X-Received: by 10.107.19.213 with SMTP id 82mr490001iot.34.1430432977961; Thu, 30 Apr 2015 15:29:37 -0700 (PDT) Received: by 10.50.154.132 with HTTP; Thu, 30 Apr 2015 15:29:37 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Apr 2015 15:29:37 -0700 Message-ID: Subject: Re: Stopping Drillbit and preventing it from restarting automatically on MapR sandbox From: Alexander Zarei To: dev@drill.apache.org Content-Type: multipart/alternative; boundary=001a113f94f486c84a0514f8a16b X-Virus-Checked: Checked by ClamAV on apache.org --001a113f94f486c84a0514f8a16b Content-Type: text/plain; charset=UTF-8 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 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 > | 949-791-7668 > > On Thu, Apr 30, 2015 at 1:38 PM, Alexander Zarei < > alexanderz.simba@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 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 > 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.simba@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 > > > >> > > > > > > > > > > > > > > --001a113f94f486c84a0514f8a16b--