Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5734 OrgQueue for easy CapacityScheduler queue configuration management
  3. YARN-9874

Remove unnecessary LevelDb write call in LeveldbConfigurationStore#confirmMutation

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: capacityscheduler
    • Labels:
      None

      Description

      Remove unnecessary LevelDb write call in LeveldbConfigurationStore#confirmMutation.

       public void confirmMutation(boolean isValid) throws IOException {
          WriteBatch updateBatch = db.createWriteBatch();
          if (isValid) {
           .......
          }
          db.write(updateBatch);
      }
      

        Attachments

        1. YARN-9874-001.patch
          4 kB
          Prabhu Joseph
        2. YARN-9874-002.patch
          2 kB
          Prabhu Joseph

          Activity

            People

            • Assignee:
              prabhujoseph Prabhu Joseph
              Reporter:
              prabhujoseph Prabhu Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: