Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-13734

Support cache directories that use GCS buckets

Details

    Description

      • Builds off of the work accomplished under BEAM-13685
      • Modified interactive_environment.py to support caching to a bucket on GCS for batch processing pipelines
      • If a specified bucket does not exist, the pipeline will terminate and return an error specifying that the bucket does not exist
      • Added cleanup() functionality to cache_manager.py, to enable the FileBasedCacheManager class to automatically delete cached values on GCS when a bucket path is specified
      • Added docstring to interactive_beam.py with an example of GCS path assignment
      • Cached files on GCS will be stored under a directory represented by the value of id(pipeline).
        • Example cached path: gs://my-gcs-bucket/cache/dir/id(pipeline)

      Attachments

        Issue Links

          Activity

            People

              victorhc Victor Chen
              victorhc Victor Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 17h 50m
                  17h 50m