[
https://issues.apache.org/jira/browse/HDFS-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16687363#comment-16687363
]
Weiwei Yang commented on HDFS-6874:
-----------------------------------
Hi [~elgoiri]
Thanks.
{quote}I agree in the approach but I think we should isolate WebHDFS changes to
hadoop-hdfs-client and HttpFS to hadoop-hdfs-httpfs. So I would fix WebHDFS
first and then this one.
{quote}
Make sense, I'll try to split the patch and create one for WebHDFS first.
{quote}BTW, HDFS-12459 is in a weird state as it is reverted but the JIRA is
resolved and fixed.
{quote}
It has some longer history. HDFS-11156 was the original issue for webhdfs but
then reverted. HDFS-12459 fixed the revert and was committed to trunk and
branch-3.2. As branch-3.2 is about to release, I guess the best we could reach
is to get this fixed for 3.2.1 and upstreams.
{quote}Regarding deprecating GET_BLOCK_LOCATIONS, not sure if we will be able
to do it as it is the only API with block ids.
I guess it is not completely needed and one shouldn't care about blocks as they
do for WASB or S3.
{quote}
FileSystem API is only able to return BlockLocation[], I think we should be
stick to that. We can start a thread to discuss this with the community also.
In case some other ones have concern.
> Add GETFILEBLOCKLOCATIONS operation to HttpFS
> ---------------------------------------------
>
> Key: HDFS-6874
> URL: https://issues.apache.org/jira/browse/HDFS-6874
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: httpfs
> Affects Versions: 2.4.1, 2.7.3
> Reporter: Gao Zhong Liang
> Assignee: Weiwei Yang
> Priority: Major
> Labels: BB2015-05-TBR
> Attachments: HDFS-6874-1.patch, HDFS-6874-branch-2.6.0.patch,
> HDFS-6874.02.patch, HDFS-6874.03.patch, HDFS-6874.04.patch,
> HDFS-6874.05.patch, HDFS-6874.06.patch, HDFS-6874.07.patch,
> HDFS-6874.08.patch, HDFS-6874.09.patch, HDFS-6874.10.patch, HDFS-6874.patch
>
>
> GETFILEBLOCKLOCATIONS operation is missing in HttpFS, which is already
> supported in WebHDFS. For the request of GETFILEBLOCKLOCATIONS in
> org.apache.hadoop.fs.http.server.HttpFSServer, BAD_REQUEST is returned so far:
> .......
> case GETFILEBLOCKLOCATIONS: {
> response = Response.status(Response.Status.BAD_REQUEST).build();
> break;
> }
> ........
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]