This is an automated email from the ASF dual-hosted git repository.
ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 7f3d8dc add environment caching to custom container instructions
new f600108 Merge pull request #14234 from emilymye/editflinkdocs
7f3d8dc is described below
commit 7f3d8dc96b0c43b24aa2554d2d1805284806d5e8
Author: Emily Ye <[email protected]>
AuthorDate: Mon Mar 15 11:40:14 2021 -0700
add environment caching to custom container instructions
---
website/www/site/content/en/documentation/runtime/environments.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/website/www/site/content/en/documentation/runtime/environments.md
b/website/www/site/content/en/documentation/runtime/environments.md
index 952a04c..4aa1019 100644
--- a/website/www/site/content/en/documentation/runtime/environments.md
+++ b/website/www/site/content/en/documentation/runtime/environments.md
@@ -200,6 +200,8 @@ python -m apache_beam.examples.wordcount \
--input=/path/to/inputfile \
--output=path/to/write/counts \
--runner=FlinkRunner \
+# When running batch jobs locally, we need to reuse the container.
+--environment_cache_millis=10000 \
--environment_type="DOCKER" \
--environment_config="${IMAGE_URL}"
{{< /highlight >}}
@@ -214,6 +216,8 @@ python -m apache_beam.examples.wordcount \
--input=/path/to/inputfile \
--output=path/to/write/counts \
--runner=SparkRunner \
+# When running batch jobs locally, we need to reuse the container.
+--environment_cache_millis=10000 \
--environment_type="DOCKER" \
--environment_config="${IMAGE_URL}"
{{< /highlight >}}