From hdfs-dev-return-7953-apmail-hadoop-hdfs-dev-archive=hadoop.apache.org@hadoop.apache.org Sat Oct 6 00:46:04 2012 Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BA32DA8C for ; Sat, 6 Oct 2012 00:46:04 +0000 (UTC) Received: (qmail 37421 invoked by uid 500); 6 Oct 2012 00:46:03 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 37354 invoked by uid 500); 6 Oct 2012 00:46:03 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 37344 invoked by uid 99); 6 Oct 2012 00:46:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2012 00:46:03 +0000 Date: Sat, 6 Oct 2012 00:46:02 +0000 (UTC) From: "Chao Shi (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1228032519.4024.1349484363645.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HDFS-4013) TestHftpURLTimeouts#testHftpSocketTimeout throws NPE on OpenJDK 1.7.0_06 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chao Shi created HDFS-4013: ------------------------------ Summary: TestHftpURLTimeouts#testHftpSocketTimeout throws NPE on OpenJDK 1.7.0_06 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 Priority: Trivial 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