Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 36466 invoked from network); 6 Mar 2009 04:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 04:06:26 -0000 Received: (qmail 47344 invoked by uid 500); 6 Mar 2009 04:06:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 47295 invoked by uid 500); 6 Mar 2009 04:06:19 -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 47284 invoked by uid 99); 6 Mar 2009 04:06:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 20:06:19 -0800 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; Fri, 06 Mar 2009 04:06:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0FBD7234C4AC for ; Thu, 5 Mar 2009 20:05:57 -0800 (PST) Message-ID: <1588483949.1236312357063.JavaMail.jira@brutus> Date: Thu, 5 Mar 2009 20:05:57 -0800 (PST) From: "zhiyong zhang (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5386) To Probe free ports dynamically for Unit test to replace fixed ports In-Reply-To: <739751020.1236134456044.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-5386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhiyong zhang updated HADOOP-5386: ---------------------------------- Status: Patch Available (was: Open) > To Probe free ports dynamically for Unit test to replace fixed ports > -------------------------------------------------------------------- > > Key: HADOOP-5386 > URL: https://issues.apache.org/jira/browse/HADOOP-5386 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/hdfsproxy > Affects Versions: 0.21.0 > Reporter: zhiyong zhang > Assignee: zhiyong zhang > Fix For: 0.21.0 > > Attachments: HADOOP-5386.patch, HADOOP-5386.patch > > > Currently hdfsproxy unit test uses Cactus in-container test. It uses three fixed ports. one for tomcat start-up/shut-down, another for tomcat http-port and the third for tomcat https-port. > If theses ports are already in use, ant build will fail. To fix this, we decided to use a java program to probe the free ports dynamically and update the tomcat conf with these free ports. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.