GitHub user timcharper opened a pull request:
https://github.com/apache/mesos/pull/133
Output disk resource source information.
This information is obscured when formatted via `stringify`, leading to
confusing error messages such as:
```
Task uses more resources
cpus(*):4; mem(*):4096; ports(*):[31000-31000]; disk(kafka,
kafka)[kafka_0:data]:960679
than available
cpus(*):32; mem(*):256819; ports(*):[31000-32000]; disk(kafka,
kafka)[kafka_0:data]:960679; disk(*):240169;
```
(above was formatted and aligned for clarity)
The validation error here is actually complaining that the disk requested
didn't have any source information (and therefore defaulted to a root volume),
but the available persistent volume was a mount source.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vivint-smarthome/mesos 0.28.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mesos/pull/133.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #133
----
commit bdb533c5de2b44f9dab873b16c3c7e28d53bcca4
Author: Tim Harper <[email protected]>
Date: 2016-07-08T09:00:32Z
Output disk resource source information.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---