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

Code cleanup in LeveldbConfigurationStore

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0, 3.4.0
    • 3.3.0, 3.2.2, 3.4.0
    • resourcemanager
    • None
    • Reviewed

    Description

      Many things can be improved:

      • Field compactionTimer could be a local variable
      • Field versiondb should be camelcase
      • initDatabase is a very long method: Initialize db / versionDb should be in separate methods, split this method into smaller chunks
      • Remove TODOs
      • Remove duplicated code block in LeveldbConfigurationStore.CompactionTimerTask
      • Any other cleanup

      Attachments

        1. YARN-9998.001.patch
          10 kB
          Benjamin Teke
        2. YARN-9998.002.patch
          9 kB
          Benjamin Teke
        3. YARN-9998.branch-3.2.001.patch
          8 kB
          Benjamin Teke

        Issue Links

        Activity

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

          People

            bteke Benjamin Teke Assign to me
            snemeth Szilard Nemeth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment