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

Investigate if we need an atomic way to set both memory and CPU on Resource

    XMLWordPrintableJSON

Details

    Description

      While reviewing another patch, noticed that we have independent methods to set memory and CPU.

      Do we need another method to set them both atomically? Otherwise, would two threads trying to set both values lose any updates?

      Attachments

        Activity

          People

            varun_saxena Varun Saxena
            kasha Karthik Kambatla
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: