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

Potential thread leak in ActivitiesManager

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.0.4, 3.1.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It is observed while using MiniYARNCluster, MiniYARNCluster#stop doesn't stop JVM.
      Thread dump shows that ActivitiesManager is in timed_waiting state.

      "Thread-43" #66 prio=5 os_prio=31 tid=0x00007ffea09fd000 nid=0xa103 waiting on condition [0x0000700006f10000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      	at java.lang.Thread.sleep(Native Method)
      	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.activities.ActivitiesManager$1.run(ActivitiesManager.java:142)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

        1. YARN-8397.01.patch
          3 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: