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

Weiwei Yang edited comment on HDFS-11166 at 12/2/16 4:26 PM:
-------------------------------------------------------------

Hello [~liuml07], [~andrew.wang]

I uploaded a patch to add documents for GETFILEBLOCKLOCATIONS, since like what 
has been discussed GET_BLOCK_LOCATIONS is a private API, I will not add any doc 
in public. So I modified the comment for GET_BLOCK_LOCATIONS in the v6 patch of 
HDFS-11156 like following

{code}
 /**
  * GET_BLOCK_LOCATIONS is a private/stable API op. It returns a
  * {@link org.apache.hadoop.hdfs.protocol.LocatedBlocks}
  * json object.
 */
 GET_BLOCK_LOCATIONS(false, HttpURLConnection.HTTP_OK),
{code}

This ticket will be used to track pure doc changes. Hope it makes sense.


was (Author: cheersyang):
Hello [~liuml07], [~andrew.wang]

The motivation of this ticket was to add the missing docs for get block 
location rest api in web hdfs, I created this right after HDFS-11156. Since 
after discussions, HDFS-11156 will not change existing api, this one needs also 
be updated. So I will upload a patch to update docs do following

# Add GETFILEBLOCKLOCATIONS doc in webhdfs
# Mark  GET_BLOCK_LOCATIONS to private/stable in order to reduce confusions

> Add webhdfs GETFILEBLOCKLOCATIONS document
> ------------------------------------------
>
>                 Key: HDFS-11166
>                 URL: https://issues.apache.org/jira/browse/HDFS-11166
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: documentation, webhdfs
>    Affects Versions: 2.7.3
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11166.01.patch
>
>
> HDFS-11156 adds GETFILEBLOCKLOCATIONS in webhdfs, user can uses this http 
> request to get a array of BlockLocation json output. This ticket is to track 
> the doc updates in WebHDFS.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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