Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-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 D54E010E98 for ; Mon, 10 Mar 2014 22:17:29 +0000 (UTC) Received: (qmail 74762 invoked by uid 500); 10 Mar 2014 22:17:17 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 74557 invoked by uid 500); 10 Mar 2014 22:17:11 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 73952 invoked by uid 99); 10 Mar 2014 22:16:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 22:16:57 +0000 Date: Mon, 10 Mar 2014 22:16:57 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10717) TestFSHDFSUtils#testIsSameHdfs fails with IllegalArgumentException running against hadoop 2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ted Yu created HBASE-10717: ------------------------------ Summary: TestFSHDFSUtils#testIsSameHdfs fails with IllegalArgumentException running against hadoop 2.3 Key: HBASE-10717 URL: https://issues.apache.org/jira/browse/HBASE-10717 Project: HBase Issue Type: Sub-task Reporter: Ted Yu Assignee: Ted Yu {code} testIsSameHdfs(org.apache.hadoop.hbase.util.TestFSHDFSUtils) Time elapsed: 0.001 sec <<< ERROR! java.lang.IllegalArgumentException: port out of range:-1 at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) at java.net.InetSocketAddress.(InetSocketAddress.java:224) at org.apache.hadoop.hbase.util.FSHDFSUtils.getNNAddresses(FSHDFSUtils.java:88) at org.apache.hadoop.hbase.util.FSHDFSUtils.isSameHdfs(FSHDFSUtils.java:118) at org.apache.hadoop.hbase.util.TestFSHDFSUtils.testIsSameHdfs(TestFSHDFSUtils.java:118) {code} It came from the following line: {code} InetSocketAddress addr = new InetSocketAddress(uri.getHost(), uri.getPort()); {code} where uri is hdfs://127.0.0.1 -- This message was sent by Atlassian JIRA (v6.2#6252)