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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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-002.patch
          2 kB
          Prabhu Joseph
        2. YARN-9874-001.patch
          4 kB
          Prabhu Joseph

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            groot Ashutosh Gupta
            prabhujoseph Prabhu Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment