Return-Path: Delivered-To: apmail-incubator-hama-commits-archive@minotaur.apache.org Received: (qmail 89699 invoked from network); 1 Feb 2011 05:50:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 05:50:58 -0000 Received: (qmail 21616 invoked by uid 500); 1 Feb 2011 05:50:58 -0000 Delivered-To: apmail-incubator-hama-commits-archive@incubator.apache.org Received: (qmail 21580 invoked by uid 500); 1 Feb 2011 05:50:57 -0000 Mailing-List: contact hama-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-commits@incubator.apache.org Received: (qmail 21572 invoked by uid 99); 1 Feb 2011 05:50:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 05:50:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 05:50:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6A436238896F; Tue, 1 Feb 2011 05:50:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065910 - in /incubator/hama/trunk: CHANGES.txt conf/hama-default.xml src/java/org/apache/hama/bsp/TaskRunner.java Date: Tue, 01 Feb 2011 05:50:34 -0000 To: hama-commits@incubator.apache.org From: edwardyoon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110201055034.6A436238896F@eris.apache.org> Author: edwardyoon Date: Tue Feb 1 05:50:34 2011 New Revision: 1065910 URL: http://svn.apache.org/viewvc?rev=1065910&view=rev Log: Remove hard-coded javaOpts for Child processors Modified: incubator/hama/trunk/CHANGES.txt incubator/hama/trunk/conf/hama-default.xml incubator/hama/trunk/src/java/org/apache/hama/bsp/TaskRunner.java Modified: incubator/hama/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1065910&r1=1065909&r2=1065910&view=diff ============================================================================== --- incubator/hama/trunk/CHANGES.txt (original) +++ incubator/hama/trunk/CHANGES.txt Tue Feb 1 05:50:34 2011 @@ -51,6 +51,7 @@ Trunk (unreleased changes) IMPROVEMENTS + HAMA-348: Remove hard-coded javaOpts (edwardyoon) HAMA-347: Add implementation of umbilical interface (edwardyoon) HAMA-346: Modify MniCluster so that developers can benefit when testing using Junit (ChiaHung Lin via edwardyoon) Modified: incubator/hama/trunk/conf/hama-default.xml URL: http://svn.apache.org/viewvc/incubator/hama/trunk/conf/hama-default.xml?rev=1065910&r1=1065909&r2=1065910&view=diff ============================================================================== --- incubator/hama/trunk/conf/hama-default.xml (original) +++ incubator/hama/trunk/conf/hama-default.xml Tue Feb 1 05:50:34 2011 @@ -69,6 +69,20 @@ /tmp/hama-${user.name} Temporary directory on the local filesystem. + + bsp.child.java.opts + -Xmx200m + Java opts for the groom server child processes. + The following symbol, if present, will be interpolated: @taskid@ is replaced + by current TaskID. Any other occurrences of '@' will go unchanged. + For example, to enable verbose gc logging to a file named for the taskid in + /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of: + -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc + + The configuration variable bsp.child.ulimit can be used to control the + maximum virtual memory of the child processes. + +