Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 633E898AC for ; Wed, 18 Apr 2012 17:37:06 +0000 (UTC) Received: (qmail 54901 invoked by uid 500); 18 Apr 2012 17:37:05 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 54861 invoked by uid 500); 18 Apr 2012 17:37:05 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 54843 invoked by uid 500); 18 Apr 2012 17:37:05 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 54838 invoked by uid 99); 18 Apr 2012 17:37:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:37:05 +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; Wed, 18 Apr 2012 17:37:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E3F253A125E for ; Wed, 18 Apr 2012 17:36:40 +0000 (UTC) Date: Wed, 18 Apr 2012 17:36:40 +0000 (UTC) From: "Phabricator (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1407317378.1644.1334770600934.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1493717612.33802.1334684602226.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2959) TestRemoteHiveMetaStoreIpAddress always uses the same port 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/HIVE-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256734#comment-13256734 ] Phabricator commented on HIVE-2959: ----------------------------------- kevinwilfong has committed the revision "HIVE-2959 [jira] TestRemoteHiveMetaStoreIpAddress always uses the same port". Change committed by hashutosh. REVISION DETAIL https://reviews.facebook.net/D2841 COMMIT https://reviews.facebook.net/rHIVE1327591 > TestRemoteHiveMetaStoreIpAddress always uses the same port > ---------------------------------------------------------- > > Key: HIVE-2959 > URL: https://issues.apache.org/jira/browse/HIVE-2959 > Project: Hive > Issue Type: Test > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Fix For: 0.10 > > Attachments: HIVE-2959.D2841.1.patch > > > TestRemoteHiveMetaStoreIpAddress always uses the same port, meaning that if another process happens to be using that port, the tests cannot succeed. > There seems to be a standard way of finding a free port using Java's ServerSocket class, this should be used instead. -- 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