Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha4, 2.8.2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      AssignmentInformation is inefficient and creates lots of garbage that increase gc pressure. It creates 3 hashmaps that each contain only 2 enum-based keys. This requires wrapper node objects, boxing/unboxing of ints, and more expensive lookups than simply using primitive arrays indexed by enum ordinal.

        Attachments

        1. YARN-6682.branch-2.8.patch
          5 kB
          Daryn Sharp
        2. YARN-6682.branch-2.patch
          5 kB
          Daryn Sharp
        3. YARN-6682.trunk.patch
          5 kB
          Daryn Sharp

          Activity

            People

            • Assignee:
              daryn Daryn Sharp
              Reporter:
              daryn Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: