You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sj...@apache.org on 2021/06/23 16:30:20 UTC
[flink] branch master updated: [FLINK-23059][docs] describe how to
create ckp and savepoint dirs in operations playground docs
This is an automated email from the ASF dual-hosted git repository.
sjwiesman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new c8f3fb0 [FLINK-23059][docs] describe how to create ckp and savepoint dirs in operations playground docs
c8f3fb0 is described below
commit c8f3fb08c8476b34cf68cc525e4226a5903b1b5b
Author: David Anderson <da...@alpinegizmo.com>
AuthorDate: Mon Jun 21 12:49:14 2021 +0200
[FLINK-23059][docs] describe how to create ckp and savepoint dirs in operations playground docs
This closes #16218
---
.../docs/try-flink/flink-operations-playground.md | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/docs/content/docs/try-flink/flink-operations-playground.md b/docs/content/docs/try-flink/flink-operations-playground.md
index b3c9435..64588fe 100644
--- a/docs/content/docs/try-flink/flink-operations-playground.md
+++ b/docs/content/docs/try-flink/flink-operations-playground.md
@@ -93,13 +93,24 @@ We assume that you have [Docker](https://docs.docker.com/) (1.12+) and
[docker-compose](https://docs.docker.com/compose/) (2.1+) installed on your machine.
The required configuration files are available in the
-[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. Check it out and spin
-up the environment:
+[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. First checkout the code and build the docker image:
```bash
-git clone --branch release-{{ site.version_title }} https://github.com/apache/flink-playgrounds.git
+git clone https://github.com/apache/flink-playgrounds.git
cd flink-playgrounds/operations-playground
docker-compose build
+```
+
+Then before starting the playground, create the checkpoint and savepoint directories on the Docker host machine (these volumes are mounted by the jobmanager and taskmanager, as specified in docker-compose.yaml):
+
+```bash
+mkdir -p /tmp/flink-checkpoints-directory
+mkdir -p /tmp/flink-savepoints-directory
+```
+
+Then start the playground:
+
+```bash
docker-compose up -d
```