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)