hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4013) TestHftpURLTimeouts#testHftpSocketTimeout throws NPE on OpenJDK 1.7.0_06
Date Sat, 06 Oct 2012 00:46:02 GMT
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.

    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();

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

View raw message