[ 
https://issues.apache.org/jira/browse/HDFS-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles Lamb updated HDFS-7138:
-------------------------------
    Attachment: HDFS-7138.001.patch

The attached patch changes namenode/StreamFile.java to call 
createWrappedInputStream during the open call. This causes hftp to be able to 
read encrypted files.

The unit test for StreamFile was also changed to reflect the change from 
FSInputStream args to FSDataInputStream.


> Fix hftp to work with encryption
> --------------------------------
>
>                 Key: HDFS-7138
>                 URL: https://issues.apache.org/jira/browse/HDFS-7138
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: Charles Lamb
>            Assignee: Charles Lamb
>         Attachments: HDFS-7138.001.patch
>
>
> Users cannot read files using hftp.
> bash-4.1$ hadoop fs -cat /enc/hello
> hello and goodbye
> bash-4.1$ hadoop fs -cat hftp://localhost:50070/enc/hello
> 14/09/16 10:56:52 WARN ssl.FileBasedKeyStoresFactory: The property 
> 'ssl.client.truststore.location' has not been set, no TrustStore will be 
> loaded
> P5/????????-?K?fbash-4.1$



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to