hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4262) Backport HTTPFS to Branch 1
Date Wed, 05 Dec 2012 20:07:58 GMT

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

Alejandro Abdelnur commented on HDFS-4262:

Yu Li, 

The REST API is at http://hadoop.apache.org/docs/r1.0.4/webhdfs.html

Regarding the change you made in the FileAccessService, I think is it incorrect, even if the
HTTPFS client is the same user as the HTTP server, it should create a proxy user. This works
fine in Hadoop 2, so it should here. 

The changes of the proxy user configuration in the test are OK if the version of Hadoop 1
you are backporting to supports wildcard '*', I've done those changes because the last version
of Hadoop 1 I've tried the backport did not support it.

Regarding changing the build to use Ant, it is your call. Personally, I'd would just leave
it as Maven and call Maven from Ant for this contrib. Regardless, I don't know what is your
idea on how this will layer on the Hadoop 1 layout, but you may have to change the location
of dirs. What I would do is to have a subdir httpfs in the root of the Hadoop 1 distribution
and under it have the current layout. This would mean minimal changes to the Hadoop 2 HTTPFS,
meaning that all backports will be easier to resolve (in case you need to).

> Backport HTTPFS to Branch 1
> ---------------------------
>                 Key: HDFS-4262
>                 URL: https://issues.apache.org/jira/browse/HDFS-4262
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>         Environment: IBM JDK, RHEL 6.3
>            Reporter: Eric Yang
>            Assignee: Yu Li
>         Attachments: 01-retrofit-httpfs-cdh3u4-for-hadoop1.patch, 02-cookie-from-authenticated-url-is-not-getting-to-auth-filter.patch,
03-resolve-proxyuser-related-issue.patch, HDFS-4262-github.patch
> There are interests to backport HTTPFS back to Hadoop 1 branch.  After the initial investigation,
there're quite some changes in HDFS-2178, and several related patches, including:
> HDFS-2284 Write Http access to HDFS
> HDFS-2646 Hadoop HttpFS introduced 4 findbug warnings
> HDFS-2649 eclipse:eclipse build fails for hadoop-hdfs-httpfs
> HDFS-2657 TestHttpFSServer and TestServerWebApp are failing on trunk
> HDFS-2658 HttpFS introduced 70 javadoc warnings
> The most challenge of backporting is all these patches, including HDFS-2178 are for 2.X,
which  code base has been refactored a lot and quite different from 1.X, so it seems we have
to backport the changes manually.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message