Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD5F311088 for ; Mon, 7 Jul 2014 16:32:20 +0000 (UTC) Received: (qmail 16553 invoked by uid 500); 7 Jul 2014 16:32:19 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 16429 invoked by uid 500); 7 Jul 2014 16:32:19 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 16397 invoked by uid 99); 7 Jul 2014 16:32:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 16:32:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.145.54.173 is neither permitted nor denied by domain of evans@yahoo-inc.com) Received: from [216.145.54.173] (HELO mrout3.yahoo.com) (216.145.54.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 16:32:17 +0000 Received: from GQ1-EX10-CAHT05.y.corp.yahoo.com (gq1-ex10-caht05.corp.gq1.yahoo.com [10.73.118.84]) by mrout3.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id s67GUpW5022882 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 7 Jul 2014 09:30:52 -0700 (PDT) Received: from GQ1-MB01-02.y.corp.yahoo.com ([fe80::a049:b5af:9055:ada6]) by GQ1-EX10-CAHT05.y.corp.yahoo.com ([fe80::e1bf:2d1c:e472:70a4%12]) with mapi id 14.03.0181.006; Mon, 7 Jul 2014 09:30:50 -0700 From: Bobby Evans To: "user@storm.incubator.apache.org" , "dev@storm.incubator.apache.org" Subject: Re: The role of supervisor in Storm Thread-Topic: The role of supervisor in Storm Thread-Index: AQHPmS3hfb07XB4vDEarsUBOxX3po5uU8MIA Date: Mon, 7 Jul 2014 16:30:49 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.3.140616 x-originating-ip: [10.74.91.218] Content-Type: multipart/alternative; boundary="_000_CFE03363315B1evansyahooinccom_" MIME-Version: 1.0 X-Milter-Version: master.31+4-gbc07cd5+ X-CLX-ID: 750652001 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CFE03363315B1evansyahooinccom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The supervisor will launch, kill and monitor worker processes. The monitor= ing is done through heartbeat files that the worker process writes out peri= odically and the supervisor reads in. The supervisor itself is expected to= be run under supervision. This means that you need an external process th= at will restart the supervisor if it goes down for any reason. We use daem= ontools (http://en.wikipedia.org/wiki/Daemontools) but there are several ot= her tools that work to do the same sort of thing. As for the hieroglyphs http://clojure.org/cheatsheet might be an OK rosetta= stone for you. - Bobby From: jeff saremi > Reply-To: "user@storm.incubator.apache.org" > Date: Sunday, July 6, 2014 at 10:20 AM To: "dev@storm.incubator.apache.org"= >, "= user@storm.incubator.apache.org" > Subject: The role of supervisor in Storm I posted another note earlier asking for hints and links on in-depth archit= ecture documentation. I didn't get any responses. Which probably means I am= the only one with this problem. So i'll just go ahead and ask specific questions: What is the role of the supervisor? I know that it starts and stops the wor= ker processes. But does it monitor them? how? Who monitors the supervisor i= tself if it goes down? Launching something with "%java storm something" is = referred to as launching the item (nimbus) under supervision. Can anything = be launched like that? Is Supervisable an interface? or a protocol? I tried reading the supervisor's code but it looked like hieroglyphs to me. thanks Jeff --_000_CFE03363315B1evansyahooinccom_--