Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 73694 invoked from network); 7 Oct 2006 23:42:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Oct 2006 23:42:56 -0000 Received: (qmail 51153 invoked by uid 500); 7 Oct 2006 23:42:56 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 51122 invoked by uid 500); 7 Oct 2006 23:42:55 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 51113 invoked by uid 99); 7 Oct 2006 23:42:55 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Oct 2006 16:42:55 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=arkady@yahoo-inc.com; domainkeys=good X-ASF-Spam-Status: No, hits=-13.6 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,USER_IN_DEF_WHITELIST DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [207.126.228.150] ([207.126.228.150:46430] helo=rsmtp2.corp.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id CD/53-11753-D7B38254 for ; Sat, 07 Oct 2006 16:42:54 -0700 Received: from [192.168.1.66] (smcvpn-c34.santamonica.corp.yahoo.com [172.21.163.34]) by rsmtp2.corp.yahoo.com (8.13.6/8.13.6/y.rout) with ESMTP id k97NgkNl099575 for ; Sat, 7 Oct 2006 16:42:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:content-type:message-id: content-transfer-encoding:from:subject:date:to:x-mailer; b=2bN5xEoSj1SFYn1UpQGLLIx3Q2zDD/7paaI7wzZSGSK+MVq4omUnBWvEtdOU24wd Mime-Version: 1.0 (Apple Message framework v624) In-Reply-To: <30184018.1160156962192.JavaMail.root@brutus> References: <30184018.1160156962192.JavaMail.root@brutus> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <406812e83daf6ae6d3387c4ea1df3818@yahoo-inc.com> Content-Transfer-Encoding: 7bit From: Arkady Borkovsky Subject: Re: [jira] Commented: (HADOOP-580) Job setup and take down on Nodes Date: Sat, 7 Oct 2006 16:42:45 -0700 To: hadoop-dev@lucene.apache.org X-Mailer: Apple Mail (2.624) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It would be good to have this process to be an arbitrary executable, not necessarily a Java program. On Oct 6, 2006, at 10:49 AM, Benjamin Reed (JIRA) wrote: > [ > http://issues.apache.org/jira/browse/HADOOP-580? > page=comments#action_12440557 ] > > Benjamin Reed commented on HADOOP-580: > -------------------------------------- > > No. I'm very against running code in the Trackers (as my mail > indicates :). The idea would be that you would spawn off a child > process at the beginning of a job and kill it at the end. (Or some > variation on that theme.) > >> Job setup and take down on Nodes >> -------------------------------- >> >> Key: HADOOP-580 >> URL: http://issues.apache.org/jira/browse/HADOOP-580 >> Project: Hadoop >> Issue Type: New Feature >> Components: mapred >> Reporter: Benjamin Reed >> >> It would be nice if there was a hook for doing job provisioning and >> cleanup on compute nodes. The TaskTracker implicitly knows when a job >> starts (a task for the job is received) and >> pollForTaskWithClosedJob() will explicitly say that a job is finished >> if a Map task has been run (If only Reduce tasks have run and are >> finished I don't think pollForTaskWithClosedJob() will return >> anything will it?), but child Tasks do not get this information. >> It would be nice if there was a hook so that programmers could do >> some provisioning when a job starts and cleanup when a job ends. >> Caching addresses some of the provisioning, but in some cases a >> helper daemon may need to be started or the results of queries need >> to be retrieved and having startJob(), finishJob() callbacks that >> happen exactly once for each node that runs part of the job would be >> wonderful. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the > administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > >