[
https://issues.apache.org/jira/browse/HDFS-16990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721154#comment-17721154
]
ASF GitHub Bot commented on HDFS-16990:
---------------------------------------
zhtttylz commented on code in PR #5602:
URL: https://github.com/apache/hadoop/pull/5602#discussion_r1189304987
##########
hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java:
##########
@@ -546,6 +546,14 @@ public InputStream run() throws Exception {
response = Response.ok(json).type(MediaType.APPLICATION_JSON).build();
break;
}
+ case GETFILELINKSTATUS: {
+ FSOperations.FSFileLinkStatus command =
+ new FSOperations.FSFileLinkStatus(path);
+ Map js = fsExecute(user, command);
Review Comment:
I will modify the code.
> HttpFS Add Support getFileLinkStatus API
> ----------------------------------------
>
> Key: HDFS-16990
> URL: https://issues.apache.org/jira/browse/HDFS-16990
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: httpfs
> Affects Versions: 3.4.0
> Reporter: Hualong Zhang
> Assignee: Hualong Zhang
> Priority: Major
> Labels: pull-request-available
>
> HttpFS should implement the *getFileLinkStatus* API already implemented in
> WebHDFS.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]