Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2572 Enhancements to the ReservationSytem/Planner
  3. YARN-4525

Fix bug in RLESparseResourceAllocation.getRangeOverlapping(...)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Patch

    Description

      One of our tests detected a corner case in getRangeOverlapping: When the RLESparseResourceAllocation object is a result of a merge operation, the underlying map is a "view" within some range. If 'end' is outside that range, headMap(..) throws an uncaught exception.

      Attachments

        1. YARN-4525.patch
          1 kB
          Ishai Menache
        2. YARN-4525.2.patch
          3 kB
          Carlo Curino
        3. YARN-4525.1.patch
          3 kB
          Carlo Curino

        Issue Links

        Activity

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

          People

            imenache Ishai Menache
            imenache Ishai Menache
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment