late-xylophone-98814
02/14/2025, 8:02 PMexport METAFLOW_DEFAULT_DATASTORE=s3
export METAFLOW_DATASTORE_SYSROOT_S3='s3://<mybucket>/metaflow_datastore'
But can I at the same also assign a dedicated local directory (instead of .metaflow
at the run directory) as metadata provider? I tried to use export METAFLOW_DATASTORE_SYSROOT_LOCAL=$HOME/metaflow_datastore
but it basically enforce the local directory as data store as well.victorious-lawyer-58417
02/19/2025, 3:52 AMvictorious-lawyer-58417
02/19/2025, 3:53 AMfrom_conf
so it's not overridable currently afaics, if one wants to use another dir besides .metaflow
victorious-lawyer-58417
02/19/2025, 3:54 AMvictorious-lawyer-58417
02/19/2025, 3:55 AM.metaflow
to some other location but that's not very helpful if you want to run flows in many different placesvictorious-lawyer-58417
02/19/2025, 3:56 AM.metaflow
directory, using S3 datastore with local metadata should work like in this config
"METAFLOW_DATASTORE_SYSROOT_S3": "s3://...",
"METAFLOW_DATATOOLS_S3ROOT": "s3://...",
"METAFLOW_DEFAULT_DATASTORE": "s3",
"METAFLOW_DEFAULT_METADATA" : "local"
late-xylophone-98814
02/19/2025, 3:57 AM.metaflow
at the run directory.late-xylophone-98814
02/19/2025, 3:58 AMvictorious-lawyer-58417
02/19/2025, 3:59 AM.metaflow
currently - we need to check if that can be changed, stay tunedlate-xylophone-98814
02/19/2025, 3:59 AMlate-xylophone-98814
02/19/2025, 4:00 AMvictorious-lawyer-58417
02/19/2025, 4:02 AMlate-xylophone-98814
02/19/2025, 4:02 AMlate-xylophone-98814
02/19/2025, 4:05 AMvictorious-lawyer-58417
02/19/2025, 4:08 AMlate-xylophone-98814
02/19/2025, 4:09 AMdry-beach-38304
02/19/2025, 11:13 AMinit_local_config
which is used in from_conf
. Further context, @victorious-lawyer-58417 is here: https://github.com/Netflix/metaflow/pull/1850. That is why the value is not overridable using from_conf
. We could look to make it work differently if that is causing issues.late-xylophone-98814
03/11/2025, 12:39 AM.metaflow
) as the metadata provider?late-xylophone-98814
03/11/2025, 11:49 PMexport METAFLOW_DATASTORE_SYSROOT_LOCAL=$HOME/metaflow_datastore
export METAFLOW_DEFAULT_DATASTORE=s3
export METAFLOW_DATASTORE_SYSROOT_S3='s3://<mybucket>/metaflow_datastore'
this way the METAFLOW_DATASTORE_SYSROOT_LOCAL
act as the local metadata provider while datastore is located on s3