hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Lamb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7138) Fix hftp to work with encryption
Date Wed, 24 Sep 2014 15:57:34 GMT

     [ 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)

Mime
View raw message