Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1712F9D91 for ; Mon, 12 Dec 2011 03:31:07 +0000 (UTC) Received: (qmail 37042 invoked by uid 500); 12 Dec 2011 03:31:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37016 invoked by uid 500); 12 Dec 2011 03:31:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 36996 invoked by uid 99); 12 Dec 2011 03:31:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 03:31:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 12 Dec 2011 03:30:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E8BCE95CC7 for ; Mon, 12 Dec 2011 03:30:31 +0000 (UTC) Date: Mon, 12 Dec 2011 03:30:31 +0000 (UTC) From: "Phabricator (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <936699999.235.1323660631968.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <183487462.58048.1320370172283.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4746) Use a random ZK client port in unit tests so we can run them in parallel 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/HBASE-4746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167331#comment-13167331 ] Phabricator commented on HBASE-4746: ------------------------------------ mbautin has abandoned the revision "[jira] [HBASE-4746] [89-fb] Use a random ZK client port in unit tests so we can run them in parallel". This was committed into 89-fb, abandoning revision. REVISION DETAIL https://reviews.facebook.net/D255 > Use a random ZK client port in unit tests so we can run them in parallel > ------------------------------------------------------------------------ > > Key: HBASE-4746 > URL: https://issues.apache.org/jira/browse/HBASE-4746 > Project: HBase > Issue Type: Improvement > Reporter: Mikhail Bautin > Assignee: Mikhail Bautin > Fix For: 0.94.0 > > Attachments: 4746-trunk-v2.txt, D255.1.patch, D255.2.patch, D279-trunk-v5.txt, D279-trunk-v7.txt, D279.1.patch, D279.2.patch, D279.3.patch, D279.4.patch, D279.5.patch, D279.6.patch, D279.7.patch, D279.92 > > > The hard-coded ZK client port has long been a problem for running HBase test suite in parallel. The mini ZK cluster should run on a random free port, and that port should be passed to all parts of the unit tests that need to talk to the mini cluster. In fact, randomizing the port exposes a lot of places in the code where a new configuration is instantiated, and as a result the client tries to talk to the default ZK client port and times out. > The initial fix is for 0.89-fb, where it already allows to run unit tests in parallel in 10 minutes. A fix for the trunk will follow. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira