Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.22.0, 0.23.0
-
None
-
Reviewed
Description
Configuration.writeXml holds a lock on itself and then writes the XML to an output stream, during which DFSOutputStream will try to get a lock on ackQueue/dataQueue. Meanwihle the DataStreamer thread will call functions like conf.getInt() and deadlock against the other thread, since it could be the same conf object.
This causes a deterministic deadlock whenever the serialized form is larger than block size.
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-7082 Configuration.writeXML should not hold lock while outputting
- Closed