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

AllocationFileLoaderService.reloadAllocations() should use the diamond operator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 3.0.0-beta1
    • fairscheduler
    • Reviewed

    Description

      Here:

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

      and here:

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

      Attachments

        1. YARN-6882.001.patch
          2 kB
          Larry Lo

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: