[
https://issues.apache.org/jira/browse/HADOOP-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645468#action_12645468
]
Chris Douglas commented on HADOOP-4575:
---------------------------------------
The core changes look fine. The contrib changes are OK for now, but in the
future:
* If there were a limit on even the number of elements in the cache, checking
that condition is less expensive than iterating over all the users in the cache
for each insertion.
* Where there is not a compatibility requirement for previous versions, the
code duplication in ProxyHttpServer should be reduced. In particular, 0.20
should have a version with the "right" abstractions.
* No information would be an improvement over a reserved HTTP error code.
Something generic, like 400, perhaps?
Compiling against trunk, I got no errors when applying only the patch. Are the
jars in lib.tgz supposed to go into src/contrib/hdfsproxy/lib ?
> An independent HTTPS proxy for HDFS
> -----------------------------------
>
> Key: HADOOP-4575
> URL: https://issues.apache.org/jira/browse/HADOOP-4575
> Project: Hadoop Core
> Issue Type: New Feature
> Reporter: Kan Zhang
> Assignee: Kan Zhang
> Fix For: 0.20.0
>
> Attachments: 4575-1-contrib.patch, 4575-1-core.patch, 4575-1.patch,
> 4575-2-contrib.patch, 4575-2-core.patch, 4575-2.patch, lib.tgz
>
>
> Currently, an HDFS cluster itself exposes an HTTP/HTTPS interface for reading
> files (i.e., HFTP/HSFTP). However, there is a need for an HTTPS proxy server
> running independently from the cluster and serving data to users who
> otherwise can't access the cluster directly. This proxy will authenticate its
> users via SSL certificates and implements the HSFTP interface for reading
> files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.