Description
NFS gateway can run out of memory when the stream timeout is set to a relatively long period(e.g., >1 minute) and user uploads thousands of files in parallel. Each stream DFSClient creates a DataStreamer thread, and will eventually run out of memory by creating too many threads.
NFS gateway should have a OpenFileCtx cache to limit the total opened files.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-5172 Handle race condition for writes
- Resolved