[ 
https://issues.apache.org/jira/browse/HDFS-6874?focusedWorklogId=640645&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-640645
 ]

ASF GitHub Bot logged work on HDFS-6874:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Aug/21 09:33
            Start Date: 23/Aug/21 09:33
    Worklog Time Spent: 10m 
      Work Description: jojochuang opened a new pull request #3322:
URL: https://github.com/apache/hadoop/pull/3322


   ### Description of PR
   This is a rebase of the patch file 11 attached to HDFS-6874.
   
   The GETFILEBLOCKLOCATIONS is HCFS compatible. Add support of it to httpfs to 
makes it possible for more applications to run directly against HttpFS server.
   
   Add GETFILEBLOCKLOCATIONS op support for httpfs server (HttpFSServer). Add 
the same for httpfs client (HttpFSFileSystem)
   Let webhdfs client (WebHdfsFileSystem ) tries the new GETFILEBLOCKLOCATIONS 
op if the server supports it. Otherwise, fall back to the old 
GET_FILE_BLOCK_LOCATIONS op. The selection is cached so the second invocation 
doesn't need to trial and error again.
   
   ### How was this patch tested?
   Unit tests.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 640645)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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.011.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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to