-
Notifications
You must be signed in to change notification settings - Fork 846
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
Add support for the new fetcher cache in Mesos 0.23 #1953
Comments
+1 This would be a very useful addition! |
👍 |
idea++ 👍 |
Any chance this will make it in the 0.13.0 release? |
I guess not. Perhaps 0.14? |
I can work on this but I need a tip from core-devs how to expose it via API :) Looking at source in V2AppDefinition: |
@aquamatthias looking forward for your opinion on that :) |
The URI's in mesos look like this:
In order to support this data structure, we have to move away from simple strings.
To make this backward compatible, the Since |
Maybe something like "artifacts" since we are downloading them in order to launch our application. |
Or "fetchUris" or "downloadUris". |
I'd prefer |
@mindscratch I do not like breaking compatibility if it can be avoided. |
We already also have |
So what would be the difference between |
I think that best solution is to provide V3 API in which every primitve type (i.e. string) is replaced with class enclosing this type (so "uris": ["uri1"] becomes "uris": [{"uri": "uri1"}]). Since we can't do that I would introduce new field and mark old one as deprecated to be dropped in next versions. |
Any thoughts @aquamatthias ? |
Hey @wendigo had the same idea in mind (see comment above) - introduce a new parameter with new format which supersedes 'uris'. |
So let's settle on naming and I can implement this feature :) |
I'll vote for fetchUris ...can't wait to see this land.
|
Naming is hard ...
|
Ok, I'm on it :) |
Sounds good
|
Almost there 😄
|
Awesome! |
Done! |
It looks like this requires additional configuration and for the fetcher cache boolean to set to be true when tasks are executed (as per https://github.com/apache/mesos/blob/master/docs/fetcher.md). It would be nifty if Marathon supported this feature!
This is related to #1377.
The text was updated successfully, but these errors were encountered: