Skip to content
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

Sharing data between tasks? #8711

Closed
smuthali opened this issue Aug 21, 2020 · 3 comments
Closed

Sharing data between tasks? #8711

smuthali opened this issue Aug 21, 2020 · 3 comments

Comments

@smuthali
Copy link

smuthali commented Aug 21, 2020

version

Output from version

Nomad v0.12.2

Operating system and Environment details

ProductName:	Mac OS X
ProductVersion:	10.15.2

Issue

According to https://www.nomadproject.io/docs/runtime/environment#task-directories, alloc/ directory can be shared between tasks.

I have a job spec that consists of two tasks, task # 1 is a prestart that goes about downloading artifacts in to say local/cli

I then copy local/cli to alloc/data so that task #2 can use the data.

However this is not true. The task fails to find alloc/data

@smuthali
Copy link
Author

the driver type used here is raw_exec

@smuthali
Copy link
Author

I was able to figure this out. What I ended up doing was to download the artifact to local/ and then move it to alloc/data

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant