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/04/20 20:30:20 UTC
svn commit: r1674959 [1/3] - in /mesos/site: publish/ publish/blog/
publish/blog/mesos-0-20-0-released/
publish/documentation/attributes-resources/
publish/documentation/configuration/ publish/documentation/getting-started/
publish/documentation/latest...
Author: dlester
Date: Mon Apr 20 18:30:19 2015
New Revision: 1674959
URL: http://svn.apache.org/r1674959
Log:
Update Apache Mesos website.
Modified:
mesos/site/publish/blog/feed.xml
mesos/site/publish/blog/mesos-0-20-0-released/index.html
mesos/site/publish/documentation/attributes-resources/index.html
mesos/site/publish/documentation/configuration/index.html
mesos/site/publish/documentation/getting-started/index.html
mesos/site/publish/documentation/latest/attributes-resources/index.html
mesos/site/publish/documentation/latest/configuration/index.html
mesos/site/publish/documentation/latest/getting-started/index.html
mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html
mesos/site/publish/documentation/mesos-c++-style-guide/index.html
mesos/site/publish/gettingstarted/index.html
mesos/site/publish/sitemap.xml
mesos/site/source/documentation/latest/attributes-resources.md
mesos/site/source/documentation/latest/configuration.md
mesos/site/source/documentation/latest/getting-started.md
mesos/site/source/documentation/latest/mesos-c++-style-guide.md
Modified: mesos/site/publish/blog/feed.xml
URL: http://svn.apache.org/viewvc/mesos/site/publish/blog/feed.xml?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/blog/feed.xml (original)
+++ mesos/site/publish/blog/feed.xml Mon Apr 20 18:30:19 2015
@@ -284,7 +284,7 @@ please note the <a href="http://
<ul>
<li>Improvement of Docker support in Mesos (<a href="https://issues.apache.org/jira/browse/MESOS-1524">MESOS-1524</a>)</li>
-<li>On top of network monitoring, evaluating and providing support for per-container network isolation (<a href="https://issues.apache.org/jira/browse/MESOS-1407">MESOS-1585</a>)</li>
+<li>On top of network monitoring, evaluating and providing support for per-container network isolation (<a href="https://issues.apache.org/jira/browse/MESOS-1585">MESOS-1585</a>)</li>
<li>Continued work on state reconciliation for frameworks (<a href="https://issues.apache.org/jira/browse/MESOS-1407">MESOS-1407</a>)</li>
</ul>
Modified: mesos/site/publish/blog/mesos-0-20-0-released/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/blog/mesos-0-20-0-released/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/blog/mesos-0-20-0-released/index.html (original)
+++ mesos/site/publish/blog/mesos-0-20-0-released/index.html Mon Apr 20 18:30:19 2015
@@ -166,7 +166,7 @@
<ul>
<li>Improvement of Docker support in Mesos (<a href="https://issues.apache.org/jira/browse/MESOS-1524">MESOS-1524</a>)</li>
-<li>On top of network monitoring, evaluating and providing support for per-container network isolation (<a href="https://issues.apache.org/jira/browse/MESOS-1407">MESOS-1585</a>)</li>
+<li>On top of network monitoring, evaluating and providing support for per-container network isolation (<a href="https://issues.apache.org/jira/browse/MESOS-1585">MESOS-1585</a>)</li>
<li>Continued work on state reconciliation for frameworks (<a href="https://issues.apache.org/jira/browse/MESOS-1407">MESOS-1407</a>)</li>
</ul>
Modified: mesos/site/publish/documentation/attributes-resources/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/attributes-resources/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/attributes-resources/index.html (original)
+++ mesos/site/publish/documentation/attributes-resources/index.html Mon Apr 20 18:30:19 2015
@@ -81,11 +81,7 @@
<p>See our <a href="/community/">community</a> page for more details.</p>
</div>
<div class="col-md-8">
- <p>–</p>
-
-<h2>layout: documentation</h2>
-
-<h1>Mesos Attributes & Resources</h1>
+ <h1>Mesos Attributes & Resources</h1>
<p>The Mesos system has two basic methods to describe the slaves that comprise a cluster. One of these is managed by the Mesos master, the other is simply passed onwards to the frameworks using the cluster.</p>
@@ -130,27 +126,27 @@ intValue : [0-9]+
<p>The Mesos master has a few resources that it pre-defines in how it handles them. At the current time, this list consist of:</p>
<ul>
-<li><code>cpu</code></li>
+<li><code>cpus</code></li>
<li><code>mem</code></li>
<li><code>disk</code></li>
<li><code>ports</code></li>
</ul>
-<p>In particular, a slave without <code>cpu</code> and <code>mem</code> resources will never have its resources advertised to any frameworks. Also, the Master’s user interface interprets the scalars in <code>mem</code> and <code>disk</code> in terms of <em><code>MB</code></em>. IE: the value <code>15000</code> is displayed as <code>14.65GB</code>.</p>
+<p>In particular, a slave without <code>cpus</code> and <code>mem</code> resources will never have its resources advertised to any frameworks. Also, the Master’s user interface interprets the scalars in <code>mem</code> and <code>disk</code> in terms of <em><code>MB</code></em>. IE: the value <code>15000</code> is displayed as <code>14.65GB</code>.</p>
<h2>Examples</h2>
<p>Here are some examples for configuring the Mesos slaves.</p>
-<pre><code>--resources='cpu:24;mem:24576;disk:409600;ports:[21000-24000];bugs:{a,b,c}'
+<pre><code>--resources='cpus:24;mem:24576;disk:409600;ports:[21000-24000];bugs:{a,b,c}'
--attributes='rack:abc;zone:west;os:centos5,full'
</code></pre>
-<p>In this case, we have three different types of resources, scalars, a range, and a set. They are called <code>cpu</code>, <code>mem</code>, <code>disk</code>, and the range type is <code>ports</code>.</p>
+<p>In this case, we have three different types of resources, scalars, a range, and a set. They are called <code>cpus</code>, <code>mem</code>, <code>disk</code>, and the range type is <code>ports</code>.</p>
<ul>
-<li>scalar called <code>cpu</code>, with the value <code>24</code></li>
+<li>scalar called <code>cpus</code>, with the value <code>24</code></li>
<li>scalar called <code>mem</code>, with the value <code>24576</code></li>
<li>scalar called <code>disk</code>, with the value <code>409600</code></li>
<li>range called <code>ports</code>, with values <code>21000</code> through <code>24000</code> (inclusive)</li>
Modified: mesos/site/publish/documentation/configuration/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/configuration/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/configuration/index.html (original)
+++ mesos/site/publish/documentation/configuration/index.html Mon Apr 20 18:30:19 2015
@@ -539,18 +539,6 @@ file:///path/to/file (where file contain
</tr>
<tr>
<td>
- --slave_removal_rate_limit=VALUE
- </td>
- <td>
- The maximum rate (e.g., 1/10mins, 2/3hrs, etc) at which slaves will
- be removed from the master when they fail health checks. By default
- slaves will be removed as soon as they fail the health checks.
- <p/>
- The value is of the form 'Number of slaves'/'Duration'
- </td>
- </tr>
- <tr>
- <td>
--registry=VALUE
</td>
<td>
Modified: mesos/site/publish/documentation/getting-started/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/getting-started/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/getting-started/index.html (original)
+++ mesos/site/publish/documentation/getting-started/index.html Mon Apr 20 18:30:19 2015
@@ -168,7 +168,7 @@
$ sudo yum groupinstall -y "Development Tools"
- $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-utils-devel
+ $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
# Install maven.
$ wget http://mirror.nexcess.net/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
Modified: mesos/site/publish/documentation/latest/attributes-resources/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/attributes-resources/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/attributes-resources/index.html (original)
+++ mesos/site/publish/documentation/latest/attributes-resources/index.html Mon Apr 20 18:30:19 2015
@@ -81,11 +81,7 @@
<p>See our <a href="/community/">community</a> page for more details.</p>
</div>
<div class="col-md-8">
- <p>–</p>
-
-<h2>layout: documentation</h2>
-
-<h1>Mesos Attributes & Resources</h1>
+ <h1>Mesos Attributes & Resources</h1>
<p>The Mesos system has two basic methods to describe the slaves that comprise a cluster. One of these is managed by the Mesos master, the other is simply passed onwards to the frameworks using the cluster.</p>
@@ -130,27 +126,27 @@ intValue : [0-9]+
<p>The Mesos master has a few resources that it pre-defines in how it handles them. At the current time, this list consist of:</p>
<ul>
-<li><code>cpu</code></li>
+<li><code>cpus</code></li>
<li><code>mem</code></li>
<li><code>disk</code></li>
<li><code>ports</code></li>
</ul>
-<p>In particular, a slave without <code>cpu</code> and <code>mem</code> resources will never have its resources advertised to any frameworks. Also, the Master’s user interface interprets the scalars in <code>mem</code> and <code>disk</code> in terms of <em><code>MB</code></em>. IE: the value <code>15000</code> is displayed as <code>14.65GB</code>.</p>
+<p>In particular, a slave without <code>cpus</code> and <code>mem</code> resources will never have its resources advertised to any frameworks. Also, the Master’s user interface interprets the scalars in <code>mem</code> and <code>disk</code> in terms of <em><code>MB</code></em>. IE: the value <code>15000</code> is displayed as <code>14.65GB</code>.</p>
<h2>Examples</h2>
<p>Here are some examples for configuring the Mesos slaves.</p>
-<pre><code>--resources='cpu:24;mem:24576;disk:409600;ports:[21000-24000];bugs:{a,b,c}'
+<pre><code>--resources='cpus:24;mem:24576;disk:409600;ports:[21000-24000];bugs:{a,b,c}'
--attributes='rack:abc;zone:west;os:centos5,full'
</code></pre>
-<p>In this case, we have three different types of resources, scalars, a range, and a set. They are called <code>cpu</code>, <code>mem</code>, <code>disk</code>, and the range type is <code>ports</code>.</p>
+<p>In this case, we have three different types of resources, scalars, a range, and a set. They are called <code>cpus</code>, <code>mem</code>, <code>disk</code>, and the range type is <code>ports</code>.</p>
<ul>
-<li>scalar called <code>cpu</code>, with the value <code>24</code></li>
+<li>scalar called <code>cpus</code>, with the value <code>24</code></li>
<li>scalar called <code>mem</code>, with the value <code>24576</code></li>
<li>scalar called <code>disk</code>, with the value <code>409600</code></li>
<li>range called <code>ports</code>, with values <code>21000</code> through <code>24000</code> (inclusive)</li>
Modified: mesos/site/publish/documentation/latest/configuration/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/configuration/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/configuration/index.html (original)
+++ mesos/site/publish/documentation/latest/configuration/index.html Mon Apr 20 18:30:19 2015
@@ -539,18 +539,6 @@ file:///path/to/file (where file contain
</tr>
<tr>
<td>
- --slave_removal_rate_limit=VALUE
- </td>
- <td>
- The maximum rate (e.g., 1/10mins, 2/3hrs, etc) at which slaves will
- be removed from the master when they fail health checks. By default
- slaves will be removed as soon as they fail the health checks.
- <p/>
- The value is of the form 'Number of slaves'/'Duration'
- </td>
- </tr>
- <tr>
- <td>
--registry=VALUE
</td>
<td>
Modified: mesos/site/publish/documentation/latest/getting-started/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/getting-started/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/getting-started/index.html (original)
+++ mesos/site/publish/documentation/latest/getting-started/index.html Mon Apr 20 18:30:19 2015
@@ -168,7 +168,7 @@
$ sudo yum groupinstall -y "Development Tools"
- $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-utils-devel
+ $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
# Install maven.
$ wget http://mirror.nexcess.net/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
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=1674959&r1=1674958&r2=1674959&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 Mon Apr 20 18:30:19 2015
@@ -218,7 +218,8 @@ Try<Duration> failoverTimeout =
<ul>
<li>Static assertions.</li>
<li>Multiple right angle brackets.</li>
-<li>Type inference (<code>auto</code> and <code>decltype</code>). The main goal is to increase code readability. Here are several examples:</li>
+<li>Type inference (<code>auto</code> and <code>decltype</code>). The main goal is to increase code readability. This is safely the case if the exact same type omitted on the left is already fully stated on the right.</li>
+<li>Here are several examples:</li>
</ul>
@@ -228,7 +229,12 @@ const auto& i = values.find(keys.front()
// Compare with
const typename map::iterator& i = values.find(keys.front());
-// 2: Don't use.
+// 2: OK.
+auto names = shared_ptr<list<string>>(new list<string>());
+// Compare with
+shared_ptr<list<string>> names = shared_ptr<list<string>>(new list<string>());
+
+// 3: Don't use.
auto authorizer = LocalAuthorizer::create(acls);
// Compare with
Try<Owned<LocalAuthorizer>> authorizer = LocalAuthorizer::create();
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=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/documentation/mesos-c++-style-guide/index.html (original)
+++ mesos/site/publish/documentation/mesos-c++-style-guide/index.html Mon Apr 20 18:30:19 2015
@@ -218,7 +218,8 @@ Try<Duration> failoverTimeout =
<ul>
<li>Static assertions.</li>
<li>Multiple right angle brackets.</li>
-<li>Type inference (<code>auto</code> and <code>decltype</code>). The main goal is to increase code readability. Here are several examples:</li>
+<li>Type inference (<code>auto</code> and <code>decltype</code>). The main goal is to increase code readability. This is safely the case if the exact same type omitted on the left is already fully stated on the right.</li>
+<li>Here are several examples:</li>
</ul>
@@ -228,7 +229,12 @@ const auto& i = values.find(keys.front()
// Compare with
const typename map::iterator& i = values.find(keys.front());
-// 2: Don't use.
+// 2: OK.
+auto names = shared_ptr<list<string>>(new list<string>());
+// Compare with
+shared_ptr<list<string>> names = shared_ptr<list<string>>(new list<string>());
+
+// 3: Don't use.
auto authorizer = LocalAuthorizer::create(acls);
// Compare with
Try<Owned<LocalAuthorizer>> authorizer = LocalAuthorizer::create();
Modified: mesos/site/publish/gettingstarted/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/gettingstarted/index.html?rev=1674959&r1=1674958&r2=1674959&view=diff
==============================================================================
--- mesos/site/publish/gettingstarted/index.html (original)
+++ mesos/site/publish/gettingstarted/index.html Mon Apr 20 18:30:19 2015
@@ -168,7 +168,7 @@
$ sudo yum groupinstall -y "Development Tools"
- $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-utils-devel
+ $ sudo yum install -y python-devel java-1.7.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
# Install maven.
$ wget http://mirror.nexcess.net/apache/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz