You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ni...@apache.org on 2022/09/29 16:41:25 UTC

[beam] branch master updated: Add documentation link to the interactive environment

This is an automated email from the ASF dual-hosted git repository.

ningk 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 5d6e9cd0f5f Add documentation link to the interactive environment
     new 978c2f9c0f5 Merge pull request #23409 from rohdesamuel/interactive_env
5d6e9cd0f5f is described below

commit 5d6e9cd0f5f1e52f9499602d6d98f41fcf53f3cd
Author: Sam Rohde <sr...@google.com>
AuthorDate: Wed Sep 28 15:43:19 2022 -0700

    Add documentation link to the interactive environment
---
 .../apache_beam/runners/interactive/interactive_environment.py      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/runners/interactive/interactive_environment.py b/sdks/python/apache_beam/runners/interactive/interactive_environment.py
index 94c9a442cbe..e508ce351ea 100644
--- a/sdks/python/apache_beam/runners/interactive/interactive_environment.py
+++ b/sdks/python/apache_beam/runners/interactive/interactive_environment.py
@@ -717,7 +717,11 @@ class InteractiveEnvironment(object):
   def _get_gcs_cache_dir(self, pipeline, cache_dir):
     cache_dir_path = PurePath(cache_dir)
     if len(cache_dir_path.parts) < 2:
-      _LOGGER.error('GCS bucket cache path is too short to be valid.')
+      _LOGGER.error(
+          'GCS bucket cache path "%s" is too short to be valid. See '
+          'https://cloud.google.com/storage/docs/naming-buckets for '
+          'the expected format.',
+          cache_dir)
       raise ValueError('cache_root GCS bucket path is invalid.')
     bucket_name = cache_dir_path.parts[1]
     assert_bucket_exists(bucket_name)