Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 54170 invoked from network); 5 Aug 2010 09:04:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 09:04:42 -0000 Received: (qmail 84009 invoked by uid 500); 5 Aug 2010 09:04:42 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 83901 invoked by uid 500); 5 Aug 2010 09:04:40 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 83892 invoked by uid 99); 5 Aug 2010 09:04:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 09:04:38 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 09:04:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7594HEq026092 for ; Thu, 5 Aug 2010 09:04:18 GMT Message-ID: <3236929.177481280999057736.JavaMail.jira@thor> Date: Thu, 5 Aug 2010 05:04:17 -0400 (EDT) From: "Hong Tang (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1253) Making Mumak work with Capacity-Scheduler In-Reply-To: <1023403449.1259630484817.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895621#action_12895621 ] Hong Tang commented on MAPREDUCE-1253: -------------------------------------- Both test-patch and mumak unit tests pass on my local machine (I forgot to copy the console output of test-patch results). {noformat} test: [echo] contrib: mumak [delete] Deleting directory /grid/0/htang/hadoop-mapreduce/build/contrib/mumak/test/logs [mkdir] Created dir: /grid/0/htang/hadoop-mapreduce/build/contrib/mumak/test/logs [junit] WARNING: multiple versions of ant detected in path for junit [junit] jar:file:/homes/htang/installed/ant/lib/ant.jar!/org/apache/tools/ant/Project.class [junit] and jar:file:/homes/htang/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class [junit] Running org.apache.hadoop.mapred.TestRemoveIpsFromLoggedNetworkTopology [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.586 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorDeterministicReplay [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 38.469 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorEndToEnd [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 107.055 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorEngine [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.162 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorEventQueue [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.02 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorJobClient [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorJobTracker [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.123 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorSerialJobSubmission [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 139.603 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorStressJobSubmission [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 100.492 sec [junit] Running org.apache.hadoop.mapred.TestSimulatorTaskTracker [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.397 sec {noformat} > Making Mumak work with Capacity-Scheduler > ----------------------------------------- > > Key: MAPREDUCE-1253 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1253 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: contrib/mumak > Affects Versions: 0.21.0, 0.22.0 > Reporter: Anirban Dasgupta > Assignee: Anirban Dasgupta > Attachments: MAPREDUCE-1253-20100406.patch, MAPREDUCE-1253-20100726-2.patch, MAPREDUCE-1253-20100804.patch > > Original Estimate: 672h > Remaining Estimate: 672h > > In order to make the capacity-scheduler work in the mumak simulation environment, we have to replace the job-initialization threads of the capacity scheduler with classes that perform event-based initialization. We propose to use aspectj to disable the threads of the JobInitializationPoller class used by the Capacity Scheduler, and then perform the corresponding initialization tasks through a simulation job-initialization class that receives periodic wake-up calls from the simulator engine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.