xintongsong commented on a change in pull request #10999: [FLINK-15143] Docs 
for FLIP-49 TM memory model and configuration guide
URL: https://github.com/apache/flink/pull/10999#discussion_r374474881
 
 

 ##########
 File path: docs/ops/memory/mem_migration.md
 ##########
 @@ -0,0 +1,184 @@
+---
+title: "Migration from old configuration (before 1.10 release)"
+nav-parent_id: ops_mem
+nav-pos: 4
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+The [memory setup of task managers](mem_setup.html) has changed a lot with the 
1.10 release. Many configuration options
+were removed or their semantics changed. This guide will help you to 
understand how to migrate the previous memory configuration to the new one.
+
+* toc
+{:toc}
+
+<div class="alert alert-warning">
+  <strong>Warning:</strong> It is important to review this guide because the 
legacy and new memory configuration can
+  result in different sizes of memory components. If you try to reuse your 
Flink configuration from the previous versions
+  before 1.10, it can result in changes to the behavior, performance or even 
configuration failures of your application.
+</div>
+
+<strong>Note:</strong> The previous memory configuration allows that no memory 
related options are set at all
+as they all have default values. The [new memory 
configuration](mem_setup.html#configure-total-memory) requires
+that at least one subset of the following options is configured explicitly, 
otherwise the configuration will fail:
+* 
[taskmanager.memory.flink.size](../config.html#taskmanager-memory-flink-size-1)
 
 Review comment:
   ```suggestion
   * 
[taskmanager.memory.flink.size](../config.html#taskmanager-memory-flink-size)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to