[
https://issues.apache.org/jira/browse/KNOX-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13781236#comment-13781236
]
Kevin Minder commented on KNOX-157:
-----------------------------------
Can you please test patch
KNOX-157__Integrate_alternate_implementation_of_HttpEntity_supporting_optimistically_repea.patch
with Kerberos in a case where a large request body needs to be repeated. You
may also want to review
gateway-server/src/main/java/org/apache/hadoop/gateway/dispatch/PartiallyRepeatableHttpEntity.java
that implements an optimistically buffered/repeatable entity.
> Knox is not able to process PUT/POST requests with large payload
> ----------------------------------------------------------------
>
> Key: KNOX-157
> URL: https://issues.apache.org/jira/browse/KNOX-157
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.3.0
> Reporter: Vladimir Tkhir
> Assignee: Dilli Arumugam
> Priority: Critical
> Fix For: 0.3.0
>
> Attachments:
> KNOX-157__Integrate_alternate_implementation_of_HttpEntity_supporting_optimistically_repea.patch,
> KNOX-157.patch, KNOX-157.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)