Repository: mesos Updated Branches: refs/heads/master fb7dceef1 -> 00ce78bd7
Added `windows/cpu` and `windows/mem` isolators into `agent.md`. Review: https://reviews.apache.org/r/67335/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f4729e3e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f4729e3e Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f4729e3e Branch: refs/heads/master Commit: f4729e3ebe9e5ad51a500ef348d9e1ea584eb424 Parents: fb7dcee Author: Qian Zhang <[email protected]> Authored: Mon Jun 18 23:23:29 2018 -0700 Committer: Gilbert Song <[email protected]> Committed: Mon Jun 18 23:36:49 2018 -0700 ---------------------------------------------------------------------- docs/configuration/agent.md | 9 +++++---- src/uri/fetcher.cpp | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f4729e3e/docs/configuration/agent.md ---------------------------------------------------------------------- diff --git a/docs/configuration/agent.md b/docs/configuration/agent.md index d2b6b82..2ea22ba 100644 --- a/docs/configuration/agent.md +++ b/docs/configuration/agent.md @@ -1027,13 +1027,14 @@ containers running on the host network. --isolation=VALUE </td> <td> -Isolation mechanisms to use, e.g., <code>posix/cpu,posix/mem</code>, or +Isolation mechanisms to use, e.g., <code>posix/cpu,posix/mem</code> (or +<code>windows/cpu,windows/mem</code> if you are on Windows), or <code>cgroups/cpu,cgroups/mem</code>, or <code>network/port_mapping</code> (configure with flag: <code>--with-network-isolator</code> to enable), or <code>gpu/nvidia</code> for nvidia specific gpu isolation, or load an alternate -isolator module using the <code>--modules</code> flag. Note that this -flag is only relevant for the Mesos Containerizer. -(default: posix/cpu,posix/mem) +isolator module using the <code>--modules</code> flag. Note that this flag is only +relevant for the Mesos Containerizer. (default: windows/cpu,windows/mem on Windows; +posix/cpu,posix/mem on other platforms) </td> </tr> http://git-wip-us.apache.org/repos/asf/mesos/blob/f4729e3e/src/uri/fetcher.cpp ---------------------------------------------------------------------- diff --git a/src/uri/fetcher.cpp b/src/uri/fetcher.cpp index 489c7ce..211dd1c 100644 --- a/src/uri/fetcher.cpp +++ b/src/uri/fetcher.cpp @@ -108,6 +108,9 @@ Future<Nothing> Fetcher::fetch( const string& directory, const Option<string>& data) const { + foreachkey (const string& key, pluginsByScheme) { + std::cout << "!!!: " << key << std::endl; + } if (!pluginsByScheme.contains(uri.scheme())) { return Failure("Scheme '" + uri.scheme() + "' is not supported"); }
