[
https://issues.apache.org/jira/browse/MESOS-9284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635175#comment-16635175
]
Bruce Merry commented on MESOS-9284:
------------------------------------
It looks like the git commit hooks in Mesos now require Python 3.6. I don't
wish to upgrade my OS just to submit a patch against a comment, so I'm going to
leave this for someone else to fix.
> mesos.proto comment falsely claims that non-persistent volumes are supported
> ----------------------------------------------------------------------------
>
> Key: MESOS-9284
> URL: https://issues.apache.org/jira/browse/MESOS-9284
> Project: Mesos
> Issue Type: Documentation
> Components: documentation
> Affects Versions: 1.5.2, 1.7.0
> Reporter: Bruce Merry
> Priority: Minor
>
> According to mesos.proto,
> {quote}// NOTE: If 'volume' is set but 'persistence' is not set, the
> // volume will be automatically garbage collected after
> // task/executor terminates. Currently, if 'persistence' is set,
> // 'volume' must be set.
> {quote}
> However, when actually trying to set 'volume' but not 'persistence', one gets
> a TASK_ERROR with the message "Task uses invalid resources: Invalid DiskInfo:
> Non-persistent volume not supported".
> I've run into this on 1.5.2, but I can see that validation code is still
> present on master so I've tagged this bug for 1.7.0 as well. I will submit a
> patch to change the documentation in mesos.proto.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)