[ 
https://issues.apache.org/jira/browse/HDFS-16149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated HDFS-16149:
------------------------------
          Component/s: ipc
         Hadoop Flags: Reviewed
     Target Version/s: 3.4.0
    Affects Version/s: 3.4.0

> 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
>          Components: ipc
>    Affects Versions: 3.4.0
>            Reporter: JiangHua Zhu
>            Assignee: JiangHua Zhu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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.20.10#820010)

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