[ 
https://issues.apache.org/jira/browse/FLINK-10619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880830#comment-16880830
 ] 

Neelesh Srinivas Salian commented on FLINK-10619:
-------------------------------------------------

having a look at MemoryStateBackend, the javadoc says this and it seems like 
this isn't needed.
{code:java}
* <h1>Configuration</h1>
*
* <p>As for all state backends, this backend can either be configured within 
the application (by creating
* the backend with the respective constructor parameters and setting it on the 
execution environment)
* or by specifying it in the Flink configuration.
*
* <p>If the state backend was specified in the application, it may pick up 
additional configuration
* parameters from the Flink configuration. For example, if the backend if 
configured in the application
* without a default savepoint directory, it will pick up a default savepoint 
directory specified in the
* Flink configuration of the running job/cluster. That behavior is implemented 
via the
* {@link #configure(Configuration)} method.
{code}

> config MemoryStateBackend default value
> ---------------------------------------
>
>                 Key: FLINK-10619
>                 URL: https://issues.apache.org/jira/browse/FLINK-10619
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>            Reporter: yangxiaoshuo
>            Assignee: yangxiaoshuo
>            Priority: Minor
>              Labels: starter
>
> The default MAX_STATE_SIZE of MemoryStateBackend is 5 * 1024 * 1024.
> If we want to change it, the only way is 
> {code:java}
> // code placeholder
> env.setStateBackend(new MemoryStateBackend(1024 * 1024 * 1024));{code}
> Is it?
> So shall we add it into configuration file?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to