Description
Getting OutOfMemory exception when trying to process PUT/POST requests with large bodies. As an example create 1GB file in HDFS via Knox.
Issue is related to replaying bodies on requests dispatch.
From Kevin:
We need a special version of a BufferedHttpEntity that will buffer up to the first n bytes and then if getContent() is called again after that many bytes have been read it throws an exception.
Attachments
Attachments
Issue Links
- relates to
-
KNOX-173 leverage presence of delegation token to avoid buffering request entity
- Closed