File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
tools/deployment/presto-clp Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,18 @@ services:
3434 - " coordinator-common.env"
3535 - " worker.env"
3636 volumes :
37+ - " ${CLP_ARCHIVES_DIR:-empty}:/var/data/archives:ro"
38+ - " ${CLP_STAGED_ARCHIVES_DIR:-empty}:/var/data/staged-archives:ro"
3739 - " ./worker/config-template:/configs:ro"
3840 - " ./worker/scripts:/scripts:ro"
39- - " ${CLP_ARCHIVES_DIR}:${CLP_ARCHIVES_DIR}"
4041 - " worker-config:/opt/presto-server/etc"
4142 networks :
4243 - " presto"
4344
4445volumes :
46+ # Dummy volume to use when a bind mount is not desired.
47+ empty :
48+
4549 coordinator-config :
4650 worker-config :
4751
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def _add_clp_env_vars(
124124 )
125125 )
126126 elif "s3" == clp_archive_output_storage_type :
127- env_vars ["CLP_ARCHIVES_DIR " ] = str (
127+ env_vars ["CLP_STAGED_ARCHIVES_DIR " ] = str (
128128 _get_path_clp_config_value (
129129 clp_config ,
130130 f"{ archive_output_storage_key } .staging_directory" ,
You can’t perform that action at this time.
0 commit comments