[
https://issues.apache.org/jira/browse/FLINK-7521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156683#comment-16156683
]
ASF GitHub Bot commented on FLINK-7521:
---------------------------------------
GitHub user zjureel opened a pull request:
https://github.com/apache/flink/pull/4654
[FLINK-7521] Add config option to set the content length limit of REST
server and client
## Brief change log
Add config option to set the content length limit of REST server and client
## Verifying this change
*(Please pick either of the following options)*
Add config option to set the content length, no test case
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable / docs /
JavaDocs / not documented)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zjureel/flink FLINK-7521
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4654.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4654
----
commit 8a8010d05ee7bdfc8c46681cdd453715c5aeac17
Author: zjureel <[email protected]>
Date: 2017-09-07T02:39:39Z
[FLINK-7521] Add config option to set the content length limit of REST
server and client
----
> Remove the 10MB limit from the current REST implementation.
> -----------------------------------------------------------
>
> Key: FLINK-7521
> URL: https://issues.apache.org/jira/browse/FLINK-7521
> Project: Flink
> Issue Type: Bug
> Components: REST
> Affects Versions: 1.4.0
> Reporter: Kostas Kloudas
> Assignee: Fang Yong
> Priority: Blocker
> Fix For: 1.4.0
>
>
> In the current {{AbstractRestServer}} we impose an upper bound of 10MB in the
> states we can transfer. This is in the line {{.addLast(new
> HttpObjectAggregator(1024 * 1024 * 10))}} of the server implementation.
> This limit is restrictive for some of the usecases planned to use this
> implementation (e.g. the job submission client which has to send full jars,
> or the queryable state client which may have to receive states bigger than
> that).
> This issue proposes the elimination of this limit.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)