You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by dl...@apache.org on 2015/05/12 21:21:49 UTC
svn commit: r1679034 [1/3] - in /mesos/site: publish/
publish/documentation/latest/mesos-c++-style-guide/
publish/documentation/latest/modules/
publish/documentation/latest/powered-by-mesos/
publish/documentation/mesos-c++-style-guide/ publish/document...
Author: dlester
Date: Tue May 12 19:21:48 2015
New Revision: 1679034
URL: http://svn.apache.org/r1679034
Log:
Update documentation.
Modified:
mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html
mesos/site/publish/documentation/latest/modules/index.html
mesos/site/publish/documentation/latest/powered-by-mesos/index.html
mesos/site/publish/documentation/mesos-c++-style-guide/index.html
mesos/site/publish/documentation/modules/index.html
mesos/site/publish/documentation/powered-by-mesos/index.html
mesos/site/publish/sitemap.xml
mesos/site/source/documentation/latest/mesos-c++-style-guide.md
mesos/site/source/documentation/latest/modules.md
mesos/site/source/documentation/latest/powered-by-mesos.md
Modified: mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/mesos-c%2B%2B-style-guide/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html (original)
+++ mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html Tue May 12 19:21:48 2015
@@ -324,7 +324,7 @@ auto lambda = []() { ...; };
<p>Feel free to inline lambdas within function arguments:</p>
-<pre><code>socket.send([]() {
+<pre><code>instance.method([]() {
...;
});
</code></pre>
Modified: mesos/site/publish/documentation/latest/modules/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/modules/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/modules/index.html (original)
+++ mesos/site/publish/documentation/latest/modules/index.html Tue May 12 19:21:48 2015
@@ -222,6 +222,20 @@ could be to support PAM (LDAP, MySQL, NI
internal components which may not be suitable to be abstracted entirely behind
modules but rather let’s them define actions on so-called hooks.</p>
+<p>To load a hook into Mesos, you need to</p>
+
+<ul>
+<li><p>introduce it to Mesos by listing it in the <code>--modules</code> configuration,</p></li>
+<li><p>select it as a hook module via the <code>--hooks</code> flag.</p></li>
+</ul>
+
+
+<p>For example, the following command will run the Mesos slave with the
+<code>TestTaskHook</code> hook:</p>
+
+<pre><code>./bin/mesos-slave.sh --master=<IP>:<PORT> --modules="file://<path-to-modules-config>.json" --hooks=TestTaskHook
+</code></pre>
+
<h3>Isolator</h3>
<p>Isolator modules enable experimenting with specialized isolation and monitoring
Modified: mesos/site/publish/documentation/latest/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/powered-by-mesos/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/latest/powered-by-mesos/index.html Tue May 12 19:21:48 2015
@@ -95,7 +95,9 @@
<li><a href="http://www.auchan.fr">Auchan Ecommerce France</a></li>
<li><a href="http://www.bol.com">Bol.com</a></li>
<li><a href="http://www.brandingbrand.com">Branding Brand</a></li>
+<li><a href="http://www.brigade.com">Brigade</a></li>
<li><a href="http://categorize.co">Categorize</a></li>
+<li><a href="http://www.cisco.com">Cisco</a></li>
<li><a href="http://cloudphysics.com">CloudPhysics</a></li>
<li><a href="http://www.conviva.com">Conviva</a></li>
<li><a href="http://www.corvisacloud.com/">CorvisaCloud</a></li>
Modified: mesos/site/publish/documentation/mesos-c++-style-guide/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/mesos-c%2B%2B-style-guide/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/mesos-c++-style-guide/index.html (original)
+++ mesos/site/publish/documentation/mesos-c++-style-guide/index.html Tue May 12 19:21:48 2015
@@ -324,7 +324,7 @@ auto lambda = []() { ...; };
<p>Feel free to inline lambdas within function arguments:</p>
-<pre><code>socket.send([]() {
+<pre><code>instance.method([]() {
...;
});
</code></pre>
Modified: mesos/site/publish/documentation/modules/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/modules/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/modules/index.html (original)
+++ mesos/site/publish/documentation/modules/index.html Tue May 12 19:21:48 2015
@@ -222,6 +222,20 @@ could be to support PAM (LDAP, MySQL, NI
internal components which may not be suitable to be abstracted entirely behind
modules but rather let’s them define actions on so-called hooks.</p>
+<p>To load a hook into Mesos, you need to</p>
+
+<ul>
+<li><p>introduce it to Mesos by listing it in the <code>--modules</code> configuration,</p></li>
+<li><p>select it as a hook module via the <code>--hooks</code> flag.</p></li>
+</ul>
+
+
+<p>For example, the following command will run the Mesos slave with the
+<code>TestTaskHook</code> hook:</p>
+
+<pre><code>./bin/mesos-slave.sh --master=<IP>:<PORT> --modules="file://<path-to-modules-config>.json" --hooks=TestTaskHook
+</code></pre>
+
<h3>Isolator</h3>
<p>Isolator modules enable experimenting with specialized isolation and monitoring
Modified: mesos/site/publish/documentation/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/powered-by-mesos/index.html?rev=1679034&r1=1679033&r2=1679034&view=diff
==============================================================================
--- mesos/site/publish/documentation/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/powered-by-mesos/index.html Tue May 12 19:21:48 2015
@@ -95,7 +95,9 @@
<li><a href="http://www.auchan.fr">Auchan Ecommerce France</a></li>
<li><a href="http://www.bol.com">Bol.com</a></li>
<li><a href="http://www.brandingbrand.com">Branding Brand</a></li>
+<li><a href="http://www.brigade.com">Brigade</a></li>
<li><a href="http://categorize.co">Categorize</a></li>
+<li><a href="http://www.cisco.com">Cisco</a></li>
<li><a href="http://cloudphysics.com">CloudPhysics</a></li>
<li><a href="http://www.conviva.com">Conviva</a></li>
<li><a href="http://www.corvisacloud.com/">CorvisaCloud</a></li>