Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 35332 invoked from network); 3 Feb 2011 22:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 22:34:52 -0000 Received: (qmail 56464 invoked by uid 500); 3 Feb 2011 22:34:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 56432 invoked by uid 500); 3 Feb 2011 22:34:52 -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 56424 invoked by uid 99); 3 Feb 2011 22:34:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 22:34:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 22:34:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23D7518D8F1 for ; Thu, 3 Feb 2011 22:34:29 +0000 (UTC) Date: Thu, 3 Feb 2011 22:34:29 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1649303577.8634.1296772469143.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1711836438.8571.1296770668978.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (MAPREDUCE-2301) TestDataDrivenDBInputFormat fails if port 9001 is occupied MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated MAPREDUCE-2301: ----------------------------------- Attachment: mapreduce-2301.txt This patch has HSQLDB pick a random port and try again until it gets one that's open (up to 10 retries) > TestDataDrivenDBInputFormat fails if port 9001 is occupied > ---------------------------------------------------------- > > Key: MAPREDUCE-2301 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2301 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Attachments: mapreduce-2301.txt > > > If you have any process listening on port 9001 (the default hsqldb port) then TestDataDrivenDBInputFormat will fail with: > Connection is broken: java.io.EOFException > java.sql.SQLException: Connection is broken: java.io.EOFException > at org.hsqldb.jdbc.Util.sqlException(Unknown Source) > in the logs you see: > [Server@42704baa]: [Thread[HSQLDB Server @42704baa,5,main]]: run()/openServerSocket(): > java.net.BindException: Address already in use -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira