Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16149

Improve the parameter annotation in FairCallQueue#priorityLevels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • ipc
    • Reviewed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m