Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-386 [Umbrella] YARN API Changes
  3. YARN-489

Setter of xxxxPBImpl doesn't really set the collection, but append its items to an existing collection

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      For example, AllocateResponsePBImpl#setAllocatedContainers, AllocateResponsePBImpl#setUpdatedNodes, CountersPBImpl#addAllCounterGroups and ContainerLaunchContextPBImpl#setLocalResources.

      In particular, in ContainerLaunchContextPBImpl, setters will clean up the list before appending the items.

      We need to investigate the issue to ensure all cases of collection setter are handled correctly.

      Attachments

        Issue Links

          Activity

            People

              zjshen Zhijie Shen
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: