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

NPE in AllocationTagsManager when a container is removed more than once

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      None

      Description

      We've seen sometimes there is NPE in AllocationTagsManager

      private void removeTagFromInnerMap(Map<String, Long> innerMap, String tag) {
        Long count = innerMap.get(tag);
        if (count > 1) { // NPE!!
        ...
      

      it seems AllocationTagsManager#removeContainer somehow gets called more than once for a same container.

        Attachments

        1. YARN-8521.002.patch
          14 kB
          Weiwei Yang
        2. YARN-8521.001.patch
          7 kB
          Weiwei Yang

          Activity

            People

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              cheersyang Weiwei Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: