Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 17318 invoked from network); 15 Jul 2008 06:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 06:46:24 -0000 Received: (qmail 64256 invoked by uid 500); 15 Jul 2008 06:46:22 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 64240 invoked by uid 500); 15 Jul 2008 06:46:22 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 64229 invoked by uid 99); 15 Jul 2008 06:46:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 23:46:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:45:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ED54C234C16B for ; Mon, 14 Jul 2008 23:45:31 -0700 (PDT) Message-ID: <310545470.1216104331971.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 23:45:31 -0700 (PDT) From: "Vivek Ratan (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3740) Make JobInProgress pluggable In-Reply-To: <1003800729.1215687993216.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613537#action_12613537 ] Vivek Ratan commented on HADOOP-3740: ------------------------------------- bq. I dont think allowing user code to run in JT is a good idea. I wasn't referring to code written by a user (a person who uses Hadoop). I was talking of code written by a Hadoop developer. The Scheduling flow will provide hooks for developers to plug in their own code. > Make JobInProgress pluggable > ---------------------------- > > Key: HADOOP-3740 > URL: https://issues.apache.org/jira/browse/HADOOP-3740 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Environment: all > Reporter: Alejandro Abdelnur > > By allowing a pluggable JobInProgess it will be possible for provide implementations that can do a sophisticated task provisioning to the JobTracker. > For example, by providing alternate implementations of the {{obtainNewMapTask}}, {{obtainNewReduceTask}} and {{updateTaskInProgress}} it would be possible to implement a license server that allows to throttle use of external resources (ie webservices, databases) so at any given time there are not more than N tasks using a given resource. For this a task could be tagged with the names of external resources and the license server would keep track of the tasks running per tag, if the counter reaches zero then the {{obtainNew*Task}} method could return NULL instead of a task. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.