Open
Description
Bug report
Based on comment: #5799 (comment)
Due to code in link it will then try to generate a folder that also crashs. It took a bit of time to find this bug :)
Expected behavior and actual behavior
We can probably be more intelligent about the difference between downloading a directory or a path here.
The current situation:
- azcopy tries to download the input files
- It fails, then creates a directory
- It then tries to download a directory
- It also fails
This obfuscates the failure in step 2 making it hard to debug.
Instead, we could handle downloading paths or directories better. This will probably require some investigation and/or an update to azcopy to see the behaviour but I think it should be possible.
Steps to reproduce the problem
TBC! But it should be possible by:
- Set process.memory to 1GB
- Try to download a large (>50GB) file
- Watch the task on Azure Batch
- Check the working directory.
Program output
🤷
Environment
- Nextflow version: [?]
- Java version: [?]
- Operating system: [macOS, Linux, etc]
- Bash version: (use the command
$SHELL --version
)
Additional context
Originally described by @KH-NN, any additional context would be helpful.