hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13933) [JDK 11] SWebhdfsFileSystem related tests fail with hostname verification problems for "localhost"
Date Fri, 21 Sep 2018 19:00:00 GMT
Andrew Purtell created HDFS-13933:
-------------------------------------

             Summary: [JDK 11] SWebhdfsFileSystem related tests fail with hostname verification
problems for "localhost"
                 Key: HDFS-13933
                 URL: https://issues.apache.org/jira/browse/HDFS-13933
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
            Reporter: Andrew Purtell


Tests with issues:

* TestHttpFSFWithSWebhdfsFileSystem
* TestWebHdfsTokens
* TestSWebHdfsFileContextMainOperations

Possibly others. Failure looks like 

{noformat}
java.io.IOException: localhost:50260: HTTPS hostname wrong:  should be <localhost>
{noformat}

These tests set up a trust store and use HTTPS connections, and with Java 11 the client validation
of the server name in the generated self-signed certificate is failing. Exceptions originate
in the JRE's HTTP client library. How everything hooks together uses static initializers,
static methods, JUnit MethodRules... There's a lot to unpack, not sure how to fix. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message