[
https://issues.apache.org/jira/browse/HDFS-17014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725814#comment-17725814
]
Shilun Fan edited comment on HDFS-17014 at 5/24/23 2:03 PM:
------------------------------------------------------------
[~zhtttylzz] Good catch! There is indeed a concurrency issue in this piece of
code.
!image-2023-05-24-21-58-28-674.png|width=746,height=110!
Between steps 1 and 2, there may be other files being written or deleted,
causing inconsistency in the value of 'used'.
was (Author: slfan1989):
[~zhtttylzz] Good catch! There is indeed a concurrency issue in this piece of
code.
> HttpFS Add Support getStatus API
> --------------------------------
>
> Key: HDFS-17014
> URL: https://issues.apache.org/jira/browse/HDFS-17014
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: webhdfs
> Affects Versions: 3.4.0
> Reporter: Hualong Zhang
> Assignee: Hualong Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: image-2023-05-24-21-58-28-674.png
>
>
> We should ensure that *WebHDFS* remains synchronized with {*}HttpFS{*}, as
> the former has already implemented the *getStatus* interface.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]