You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2021/08/02 08:31:00 UTC

[jira] [Created] (HDFS-16149) Improve the parameter annotation in FairCallQueue#priorityLevels

JiangHua Zhu created HDFS-16149:
-----------------------------------

             Summary: Improve the parameter annotation in FairCallQueue#priorityLevels
                 Key: HDFS-16149
                 URL: https://issues.apache.org/jira/browse/HDFS-16149
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: JiangHua Zhu


The parameter description of FairCallQueue#priorityLevels is missing in FairCallQueue.
   /**
    * Create a FairCallQueue.
    * @param capacity the total size of all sub-queues
    * @param ns the prefix to use for configuration
    * @param capacityWeights the weights array for capacity allocation
    * among subqueues
    * @param conf the configuration to read from
    * Notes: Each sub-queue has a capacity of `capacity / numSubqueues`.
    * The first or the highest priority sub-queue has an excess capacity
    * of `capacity% numSubqueues`
    */
   public FairCallQueue(int priorityLevels, int capacity, String ns,
       int[] capacityWeights, Configuration conf) {
We should be more perfect for them.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org