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] [Commented] (HDFS-7138) Fix hftp to work with encryption
Date Wed, 24 Sep 2014 23:39:34 GMT

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

Charles Lamb commented on HDFS-7138:
------------------------------------

Thanks for the review [~andrew.wang]. For manual testing, I created an ez and added a file
to it (a copy of m /etc/hosts). I also created a non encrypted file ("foo"). Then I used webhdfs,
hftp, and vanilla hdfs to cat those two files:

{noformat}
[cwl@localhost hadoop]$ hdfs dfs -cat webhdfs://localhost:50070/ez/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[cwl@localhost hadoop]$ hdfs dfs -cat hftp://localhost:50070/ez/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[cwl@localhost hadoop]$ hdfs dfs -cat /ez/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[cwl@localhost hadoop]$ hdfs dfs -cat /foo
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[cwl@localhost hadoop]$ hdfs dfs -cat hftp://localhost:50070/foo
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[cwl@localhost hadoop]$ hdfs dfs -cat webhdfs://localhost:50070/foo
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
{noformat}

> 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