[ 
https://issues.apache.org/jira/browse/HDFS-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905443#comment-13905443
 ] 

Hudson commented on HDFS-5893:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1678 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1678/])
HDFS-5893. HftpFileSystem.RangeHeaderUrlOpener uses the default 
URLConnectionFactory which does not import SSL certificates. Contributed by 
Haohui Mai. (jing9: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1569477)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FileDataServlet.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/HftpFileSystem.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestByteRangeInputStream.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestHttpsFileSystem.java


> HftpFileSystem.RangeHeaderUrlOpener uses the default URLConnectionFactory 
> which does not import SSL certificates
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5893
>                 URL: https://issues.apache.org/jira/browse/HDFS-5893
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yesha Vora
>            Assignee: Haohui Mai
>             Fix For: 2.4.0
>
>         Attachments: HDFS-5893.000.patch
>
>
> When {{HftpFileSystem}} tries to get the data, it create a 
> {{RangeHeaderUrlOpener}} object to open a HTTP / HTTPS connection to the NN. 
> However, {{HftpFileSystem.RangeHeaderUrlOpener}} uses the default 
> URLConnectionFactory. It does not import the SSL certificates from 
> ssl-client.xml. Therefore {{HsftpFileSystem}} fails.
> To fix this bug, {{HftpFileSystem.RangeHeaderUrlOpener}} needs to use the 
> same {{URLConnectionFactory}} as the one used by {{HftpFileSystem}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to