-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better files download and replication configurability #543
Comments
Hi @aaaditij. Thank you for creating this enhancement request. These options make sense to me as traitlet-configurable options. At the same time we are not working on any of them now and are not planning to as there are some high-priority deliverables in the pipeline. |
Implementation overview for "1.) Add a boolean flag to download_files api to allow the user to specify if they only want the output files to be copied over to the output folder." based on discussion with @aaaditij:
|
Problem
For the createjob api, one of the inputs to this API is a boolean flag called package_input_folder, which when set to true, packages the input folder (the folder containing the input notebook) and all nested files and subfolders within it during the job creation. This introduces the following problems:
download_files
api copies the entire input folder from staging area to the output folder. This is currently done so that notebook downloaded with other output files would have access to all the same files as original and so that running notebook as a whole or some cells could be replicated if they refer to files via local paths.This in essence is copying the entire input folder twice, once to the staging area
and then to the output folder and can quickly lead to storage exhaustion if the input folder is large.
The files in the staging area are never cleaned up again eating up storage space.
Proposed solution
download_files
api to allow the user to specify if they only want the output files to be copied over to the output folder.download_files
api to delete all files belonging to an execution from the staging area after they have been copied over to the output folder.The text was updated successfully, but these errors were encountered: