Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.23.0
-
None
-
None
-
MR-279 branch. This is specific to yarn since yarn tries to write the configuration file to hdfs while holding the lock of the configuration file.
Description
While trying to run yarn with 1024 block size, it looks as though the dfsclients are hung waiting to write to DN. The reason is because yarn holds the configuration file lock and tries to write to hdfs which in turn tries to read from the configuration which requires the same lock.
The temporary fix is to make sure that dfsclient threads dont read the config in its write path. There might be better long term solutions like read/write locks and this needs to be investigated in another JIRA.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-7082 Configuration.writeXML should not hold lock while outputting
- Closed