Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6882

AllocationFileLoaderService.reloadAllocations() should use the diamond operator

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: 3.0.0-beta1
    • Component/s: fairscheduler
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Here:

          for (FSQueueType queueType : FSQueueType.values()) {
            configuredQueues.put(queueType, new HashSet<String>());
          }

      and here:

          List<Element> queueElements = new ArrayList<Element>();

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                LarryLo Larry Lo
                Reporter:
                templedf Daniel Templeton
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: