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

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

                Author: ASF GitHub Bot
            Created on: 01/Jul/21 11:35
            Start Date: 01/Jul/21 11:35
    Worklog Time Spent: 10m 
      Work Description: zhuxiangyi commented on pull request #3155:
URL: https://github.com/apache/hadoop/pull/3155#issuecomment-872169594


   > It has a potential to hold the fsn/fsd lock for a long time and cause 
service outage or delays.
   
   
   
   > hold the fsn/fsd lock
   
   @kihwal  Thanks for your comment. I tested to obtain quota information for 
10w directories, and its holding lock time was about 300ms. Under normal 
circumstances, our quota list is limited, I think it will not be particularly 
high, this is just my guess.
   In addition, I did a test to get only the Quota directory path, and the 10w 
directory also took 20ms. We first get the path of the quota directory, and 
then get the quota information through getQuotaUsage, is this better?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 617548)
    Time Spent: 1h  (was: 50m)

> Add lsQuotaList command and getQuotaListing api for hdfs quota
> --------------------------------------------------------------
>
>                 Key: HDFS-16095
>                 URL: https://issues.apache.org/jira/browse/HDFS-16095
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0
>            Reporter: Xiangyi Zhu
>            Assignee: Xiangyi Zhu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently hdfs does not support obtaining all quota information. The 
> administrator may need to check which quotas have been added to a certain 
> directory, or the quotas of the entire cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to