Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 73855 invoked from network); 30 Oct 2008 07:29:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 07:29:10 -0000 Received: (qmail 64971 invoked by uid 500); 30 Oct 2008 07:29:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 64870 invoked by uid 500); 30 Oct 2008 07:29:10 -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 64789 invoked by uid 99); 30 Oct 2008 07:29:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 00:29:10 -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; Thu, 30 Oct 2008 07:28:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D461234C24A for ; Thu, 30 Oct 2008 00:28:44 -0700 (PDT) Message-ID: <4450134.1225351724577.JavaMail.jira@brutus> Date: Thu, 30 Oct 2008 00:28:44 -0700 (PDT) From: "Aaron Kimball (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Resolved: (HADOOP-4141) ScriptBasedMapping has infinite loop with invalid jobconf parameter In-Reply-To: <1627049091.1221007184276.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-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Kimball resolved HADOOP-4141. ----------------------------------- Resolution: Fixed > ScriptBasedMapping has infinite loop with invalid jobconf parameter > ------------------------------------------------------------------- > > Key: HADOOP-4141 > URL: https://issues.apache.org/jira/browse/HADOOP-4141 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.18.0 > Reporter: Aaron Kimball > Priority: Minor > Attachments: HADOOP-4141.patch.3, scriptMap.patch, scriptMap.patch.2, TestScriptBasedMapping.java > > Original Estimate: 0h > Remaining Estimate: 0h > > A few bugs in ScriptBasedTopology: > 1) topology.script.number.args is not validated; if this is <= 0, the runResolveCommand() method will run its outer loop an infinite number of times. > 2) CachedDNSToSwitchMapping assumes that if a List is returned, it has the same cardinality as the number of names. ScriptBasedMapping should return 'null' instead of a mis-sized list on error -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.