Hi all,

Symptom: on our clusters a NodeManager localizer thread gets stuck and never 
recovers. Containers on that node stop launching and only a NodeManager restart 
clears it. We see this on 3.3.5 and later.


Evidence: a jstack dump shows a Java-level deadlock between the localization 
thread and a resource download thread. One thread holds the FileSystem.CACHE 
monitor and waits for the ViewFileSystem InnerCache write lock, while the other 
holds that write lock and waits for the CACHE monitor. Neither wait responds to 
interruption, so the node stays wedged.


Trigger conditions we observed: DefaultContainerExecutor (the localizer runs 
inside the NodeManager JVM), a viewfs mount as fs.defaultFS, and the 
localization failure path that leads to FileSystem.closeAllForUGI.
I can reproduce this reliably on a single node and I am preparing a patch. My 
ASF Jira account request from 2026-11-19 is still pending, so I do not have a 
Jira yet. Could a committer create one, or advise how to proceed? I will attach 
the patch and the reproduction details to the Jira.

Reply via email to