Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26788D295 for ; Wed, 13 Mar 2013 13:06:15 +0000 (UTC) Received: (qmail 79060 invoked by uid 500); 13 Mar 2013 13:06:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 79014 invoked by uid 500); 13 Mar 2013 13:06:14 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 78970 invoked by uid 99); 13 Mar 2013 13:06:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 13:06:13 +0000 Date: Wed, 13 Mar 2013 13:06:13 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4013) TestHftpURLTimeouts throws NPE 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/HDFS-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601092#comment-13601092 ] Hudson commented on HDFS-4013: ------------------------------ Integrated in Hadoop-Hdfs-trunk #1343 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1343/]) HDFS-4013. TestHftpURLTimeouts throws NPE. Contributed by Chao Shi. (Revision 1455755) Result = SUCCESS suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1455755 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpURLTimeouts.java > TestHftpURLTimeouts throws NPE > ------------------------------ > > Key: HDFS-4013 > URL: https://issues.apache.org/jira/browse/HDFS-4013 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs-client > Environment: java version "1.7.0_06-icedtea" > OpenJDK Runtime Environment (fedora-2.3.1.fc17.2-i386) > OpenJDK Client VM (build 23.2-b09, mixed mode) > Reporter: Chao Shi > Assignee: Chao Shi > Priority: Trivial > Fix For: 2.0.5-beta > > Attachments: hdfs-4013.patch, hdfs-4013.patch, hdfs-4013.patch > > > The case fails at line 116, where message is null. I guess this may be an openjdk-specific behavior, but it would be nice to have it fixed although openjdk is not officially supported. > FYI: The exception is thrown with null message at java.net.SocksSocketImpl. > {code} > private static int remainingMillis(long deadlineMillis) throws IOException { > if (deadlineMillis == 0L) > return 0; > final long remaining = deadlineMillis - System.currentTimeMillis(); > if (remaining > 0) > return (int) remaining; > throw new SocketTimeoutException(); > } > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira