aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From san...@apache.org
Subject svn commit: r1799388 [6/9] - in /aurora/site: data/ publish/ publish/blog/ publish/documentation/0.10.0/ publish/documentation/0.10.0/build-system/ publish/documentation/0.10.0/client-cluster-configuration/ publish/documentation/0.10.0/client-commands/...
Date Wed, 21 Jun 2017 06:29:02 GMT
Modified: aurora/site/publish/documentation/latest/features/custom-executors/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/custom-executors/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/custom-executors/index.html (original)
+++ aurora/site/publish/documentation/latest/features/custom-executors/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/custom-executors/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -177,18 +181,17 @@ started.</p>
 </tr>
 </tbody></table>
 
-<p>A note on the command property (from <a href="https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto">mesos.proto</a>):
-<code>
-1) If &#39;shell == true&#39;, the command will be launched via shell
-   (i.e., /bin/sh -c &#39;value&#39;). The &#39;value&#39; specified will be
-   treated as the shell command. The &#39;arguments&#39; will be ignored.
-2) If &#39;shell == false&#39;, the command will be launched by passing
-   arguments to an executable. The &#39;value&#39; specified will be
-   treated as the filename of the executable. The &#39;arguments&#39;
+<p>A note on the command property (from <a href="https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto">mesos.proto</a>):</p>
+<pre class="highlight plaintext"><code>1) If 'shell == true', the command will be launched via shell
+   (i.e., /bin/sh -c 'value'). The 'value' specified will be
+   treated as the shell command. The 'arguments' will be ignored.
+2) If 'shell == false', the command will be launched by passing
+   arguments to an executable. The 'value' specified will be
+   treated as the filename of the executable. The 'arguments'
    will be treated as the arguments to the executable. This is
    similar to how POSIX exec families launch processes (i.e.,
    execlp(value, arguments(0), arguments(1), ...)).
-</code></p>
+</code></pre>
 
 <h5 id="uris-list">uris (list)</h5>
 
@@ -264,81 +267,80 @@ started.</p>
 </tr>
 </tbody></table>
 
-<p>A sample configuration is as follows:
-&ldquo;`
-[
-    {
-      &quot;executor&rdquo;: {
-        &ldquo;name&rdquo;: &ldquo;myExecutor&rdquo;,
-        &ldquo;command&rdquo;: {
-          &ldquo;value&rdquo;: &ldquo;myExecutor.a&rdquo;,
-          &ldquo;shell&rdquo;: &ldquo;false&rdquo;,
-          &ldquo;arguments&rdquo;: [
-            &ldquo;localhost:2181&rdquo;,
-            &ldquo;-verbose&rdquo;,
-            &ldquo;-config myConfiguration.config&rdquo;
-          ],
-          &ldquo;uris&rdquo;: [
-            {
-              &ldquo;value&rdquo;: &ldquo;/dist/myExecutor.a&rdquo;,
-              &ldquo;executable&rdquo;: true,
-              &ldquo;extract&rdquo;: false,
-              &ldquo;cache&rdquo;: true
-            },
-            {
-              &ldquo;value&rdquo;: &ldquo;/home/user/myConfiguration.config&rdquo;,
-              &ldquo;executable&rdquo;: false,
-              &ldquo;extract&rdquo;: false,
-              &ldquo;cache&rdquo;: false
-            }
-          ]
-        },
-        &ldquo;resources&rdquo;: [
-          {
-            &ldquo;name&rdquo;: &ldquo;cpus&rdquo;,
-            &ldquo;type&rdquo;: &ldquo;SCALAR&rdquo;,
-            &ldquo;scalar&rdquo;: {
-              &ldquo;value&rdquo;: 1.00
-            }
-          },
-          {
-            &ldquo;name&rdquo;: &ldquo;mem&rdquo;,
-            &ldquo;type&rdquo;: &ldquo;SCALAR&rdquo;,
-            &ldquo;scalar&rdquo;: {
-              &ldquo;value&rdquo;: 512
-            }
-          }
-        ]
-      },
-      &ldquo;volume<em>mounts&rdquo;: [
-        {
-          &ldquo;mode&rdquo;: &ldquo;RO&rdquo;,
-          &ldquo;container</em>path&rdquo;: &ldquo;/path/on/container&rdquo;,
-          &ldquo;host<em>path&rdquo;: &ldquo;/path/to/host/directory&rdquo;
-        },
-        {
-          &ldquo;mode&rdquo;: &ldquo;RW&rdquo;,
-          &ldquo;container</em>path&rdquo;: &ldquo;/container&rdquo;,
-          &ldquo;host<em>path&rdquo;: &ldquo;/host&rdquo;
-        }
-      ],
-      &ldquo;task</em>prefix&rdquo;: &ldquo;my-executor-&rdquo;
-    }
-]</p>
-<pre class="highlight plaintext"><code>
-It should be noted that if you do not use Thermos or a Thermos based executor, links in the scheduler's
+<p>A sample configuration is as follows:</p>
+<pre class="highlight json"><code><span style="background-color: #f8f8f8">[</span><span style="color: #bbbbbb">
+    </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+      </span><span style="color: #000080">"executor"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"name"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"myExecutor"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"command"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"myExecutor.a"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"shell"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"false"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"arguments"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">[</span><span style="color: #bbbbbb">
+            </span><span style="color: #d14">"localhost:2181"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #d14">"-verbose"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #d14">"-config myConfiguration.config"</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">],</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"uris"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">[</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/dist/myExecutor.a"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"executable"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">true</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"extract"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">false</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"cache"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">true</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/home/user/myConfiguration.config"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"executable"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">false</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"extract"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">false</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"cache"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #000000;font-weight: bold">false</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">]</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"resources"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">[</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"name"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"cpus"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"type"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"SCALAR"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"scalar"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #009999">1.00</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"name"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"mem"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"type"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"SCALAR"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"scalar"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+              </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #009999">512</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+          </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">]</span><span style="color: #bbbbbb">
+      </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+      </span><span style="color: #000080">"volume_mounts"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">[</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"mode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"RO"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"container_path"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/path/on/container"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"host_path"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/path/to/host/directory"</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"mode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"RW"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"container_path"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/container"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+          </span><span style="color: #000080">"host_path"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"/host"</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+      </span><span style="background-color: #f8f8f8">],</span><span style="color: #bbbbbb">
+      </span><span style="color: #000080">"task_prefix"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"my-executor-"</span><span style="color: #bbbbbb">
+    </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+</span><span style="background-color: #f8f8f8">]</span><span style="color: #bbbbbb">
+</span></code></pre>
+
+<p>It should be noted that if you do not use Thermos or a Thermos based executor, links in the scheduler&rsquo;s
 Web UI for tasks will not work (at least for the time being).
-Some information about launched tasks can still be accessed via the Mesos Web UI or via the Aurora Client.
+Some information about launched tasks can still be accessed via the Mesos Web UI or via the Aurora Client.</p>
 
-### Using a custom executor
+<h3 id="using-a-custom-executor">Using a custom executor</h3>
 
-At this time, it is not currently possible create a job that runs on a custom executor using the default
-Aurora client. To allow the scheduler to pick the correct executor, the `JobConfiguration.TaskConfig.ExecutorConfig.name`
+<p>At this time, it is not currently possible create a job that runs on a custom executor using the default
+Aurora client. To allow the scheduler to pick the correct executor, the <code>JobConfiguration.TaskConfig.ExecutorConfig.name</code>
 field must be set to match the name used in the custom executor configuration blob. (e.g. to run a job using myExecutor,
-`JobConfiguration.TaskConfig.ExecutorConfig.name` must be set to `myExecutor`). While support for modifying
+<code>JobConfiguration.TaskConfig.ExecutorConfig.name</code> must be set to <code>myExecutor</code>). While support for modifying
 this field in Pystachio created, the easiest way to launch jobs with custom executors is to use
-an existing custom Client such as [gorealis](https://github.com/rdelval/gorealis).
-</code></pre>
+an existing custom Client such as <a href="https://github.com/rdelval/gorealis">gorealis</a>.</p>
 
 </div>
 

Modified: aurora/site/publish/documentation/latest/features/job-updates/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/job-updates/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/job-updates/index.html (original)
+++ aurora/site/publish/documentation/latest/features/job-updates/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/job-updates/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -132,17 +136,17 @@ in the current (possibly partially-updat
 <p>For a configuration update, the Aurora Scheduler calculates required changes
 by examining the current job config state and the new desired job config.
 It then starts a <em>rolling batched update process</em> by going through every batch
-and performing these operations:</p>
+and performing these operations, in order:</p>
 
 <ul>
-<li>If an instance is present in the scheduler but isn&rsquo;t in the new config,
-then that instance is killed.</li>
 <li>If an instance is not present in the scheduler but is present in
 the new config, then the instance is created.</li>
 <li>If an instance is present in both the scheduler and the new config, then
 the scheduler diffs both task configs. If it detects any changes, it
 performs an instance update by killing the old config instance and adds
 the new config instance.</li>
+<li>If an instance is present in the scheduler but isn&rsquo;t in the new config,
+then that instance is killed.</li>
 </ul>
 
 <p>The Aurora Scheduler continues through the instance list until all tasks are
@@ -165,7 +169,7 @@ acknowledging (&ldquo;heartbeating&rdquo
 service updates where explicit job health monitoring is vital during the entire job update
 lifecycle. Such job updates would rely on an external service (or a custom client) periodically
 pulsing an active coordinated job update via a
-<a href="https://github.com/apache/aurora/blob/rel/0.17.0/api/src/main/thrift/org/apache/aurora/gen/api.thrift">pulseJobUpdate RPC</a>.</p>
+<a href="https://github.com/apache/aurora/blob/rel/0.18.0/api/src/main/thrift/org/apache/aurora/gen/api.thrift">pulseJobUpdate RPC</a>.</p>
 
 <p>A coordinated update is defined by setting a positive
 <a href="../../reference/configuration/#updateconfig-objects">pulse<em>interval</em>secs</a> value in job configuration

Modified: aurora/site/publish/documentation/latest/features/mesos-fetcher/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/mesos-fetcher/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/mesos-fetcher/index.html (original)
+++ aurora/site/publish/documentation/latest/features/mesos-fetcher/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/mesos-fetcher/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/features/multitenancy/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/multitenancy/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/multitenancy/index.html (original)
+++ aurora/site/publish/documentation/latest/features/multitenancy/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/multitenancy/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/features/resource-isolation/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/resource-isolation/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/resource-isolation/index.html (original)
+++ aurora/site/publish/documentation/latest/features/resource-isolation/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/resource-isolation/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/features/service-discovery/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/service-discovery/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/service-discovery/index.html (original)
+++ aurora/site/publish/documentation/latest/features/service-discovery/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/service-discovery/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/features/services/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/services/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/services/index.html (original)
+++ aurora/site/publish/documentation/latest/features/services/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/services/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/features/sla-metrics/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/sla-metrics/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/sla-metrics/index.html (original)
+++ aurora/site/publish/documentation/latest/features/sla-metrics/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/sla-metrics/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -166,7 +170,7 @@ relevant to uptime calculations. By appl
 transition records, we can build a deterministic downtime trace for every given service instance.</p>
 
 <p>A task going through a state transition carries one of three possible SLA meanings
-(see <a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/java/org/apache/aurora/scheduler/sla/SlaAlgorithm.java">SlaAlgorithm.java</a> for
+(see <a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/java/org/apache/aurora/scheduler/sla/SlaAlgorithm.java">SlaAlgorithm.java</a> for
 sla-to-task-state mapping):</p>
 
 <ul>
@@ -216,7 +220,7 @@ metric that helps track the dependency o
 <li>Per job - <code>sla_&lt;job_key&gt;_mtta_ms</code></li>
 <li>Per cluster - <code>sla_cluster_mtta_ms</code></li>
 <li>Per instance size (small, medium, large, x-large, xx-large). Size are defined in:
-<a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
+<a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
 
 <ul>
 <li>By CPU:</li>
@@ -258,7 +262,7 @@ for a task.</em></p>
 <li>Per job - <code>sla_&lt;job_key&gt;_mtts_ms</code></li>
 <li>Per cluster - <code>sla_cluster_mtts_ms</code></li>
 <li>Per instance size (small, medium, large, x-large, xx-large). Size are defined in:
-<a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
+<a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
 
 <ul>
 <li>By CPU:</li>
@@ -298,7 +302,7 @@ reflecting on the overall time it takes
 <li>Per job - <code>sla_&lt;job_key&gt;_mttr_ms</code></li>
 <li>Per cluster - <code>sla_cluster_mttr_ms</code></li>
 <li>Per instance size (small, medium, large, x-large, xx-large). Size are defined in:
-<a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
+<a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/java/org/apache/aurora/scheduler/resources/ResourceBag.java">ResourceBag.java</a>
 
 <ul>
 <li>By CPU:</li>

Modified: aurora/site/publish/documentation/latest/features/webhooks/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/features/webhooks/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/features/webhooks/index.html (original)
+++ aurora/site/publish/documentation/latest/features/webhooks/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/features/webhooks/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -113,65 +117,64 @@ to receive task state change events. It
 </span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
 </span></code></pre>
 
-<p>And an example of a response that you will get back:
-<code>json
-{
-    &quot;task&quot;:
-    {
-        &quot;cachedHashCode&quot;:0,
-        &quot;assignedTask&quot;: {
-            &quot;cachedHashCode&quot;:0,
-            &quot;taskId&quot;:&quot;vagrant-test-http_example-8-a6cf7ec5-d793-49c7-b10f-0e14ab80bfff&quot;,
-            &quot;task&quot;: {
-                &quot;cachedHashCode&quot;:-1819348376,
-                &quot;job&quot;: {
-                    &quot;cachedHashCode&quot;:803049425,
-                    &quot;role&quot;:&quot;vagrant&quot;,
-                    &quot;environment&quot;:&quot;test&quot;,
-                    &quot;name&quot;:&quot;http_example&quot;
-                    },
-                &quot;owner&quot;: {
-                    &quot;cachedHashCode&quot;:226895216,
-                    &quot;user&quot;:&quot;vagrant&quot;
-                    },
-                &quot;isService&quot;:true,
-                &quot;numCpus&quot;:0.1,
-                &quot;ramMb&quot;:16,
-                &quot;diskMb&quot;:8,
-                &quot;priority&quot;:0,
-                &quot;maxTaskFailures&quot;:1,
-                &quot;production&quot;:false,
-                &quot;resources&quot;:[
-                    {&quot;cachedHashCode&quot;:729800451,&quot;setField&quot;:&quot;NUM_CPUS&quot;,&quot;value&quot;:0.1},
-                    {&quot;cachedHashCode&quot;:552899914,&quot;setField&quot;:&quot;RAM_MB&quot;,&quot;value&quot;:16},
-                    {&quot;cachedHashCode&quot;:-1547868317,&quot;setField&quot;:&quot;DISK_MB&quot;,&quot;value&quot;:8},
-                    {&quot;cachedHashCode&quot;:1957328227,&quot;setField&quot;:&quot;NAMED_PORT&quot;,&quot;value&quot;:&quot;http&quot;},
-                    {&quot;cachedHashCode&quot;:1954229436,&quot;setField&quot;:&quot;NAMED_PORT&quot;,&quot;value&quot;:&quot;tcp&quot;}
-                    ],
-                &quot;constraints&quot;:[],
-                &quot;requestedPorts&quot;:[&quot;http&quot;,&quot;tcp&quot;],
-                &quot;taskLinks&quot;:{&quot;http&quot;:&quot;http://%host%:%port:http%&quot;},
-                &quot;contactEmail&quot;:&quot;vagrant@localhost&quot;,
-                &quot;executorConfig&quot;: {
-                    &quot;cachedHashCode&quot;:-1194797325,
-                    &quot;name&quot;:&quot;AuroraExecutor&quot;,
-                    &quot;data&quot;: &quot;{\&quot;environment\&quot;: \&quot;test\&quot;, \&quot;health_check_config\&quot;: {\&quot;initial_interval_secs\&quot;: 5.0, \&quot;health_checker\&quot;: { \&quot;http\&quot;: {\&quot;expected_response_code\&quot;: 0, \&quot;endpoint\&quot;: \&quot;/health\&quot;, \&quot;expected_response\&quot;: \&quot;ok\&quot;}}, \&quot;max_consecutive_failures\&quot;: 0, \&quot;timeout_secs\&quot;: 1.0, \&quot;interval_secs\&quot;: 1.0}, \&quot;name\&quot;: \&quot;http_example\&quot;, \&quot;service\&quot;: true, \&quot;max_task_failures\&quot;: 1, \&quot;cron_collision_policy\&quot;: \&quot;KILL_EXISTING\&quot;, \&quot;enable_hooks\&quot;: false, \&quot;cluster\&quot;: \&quot;devcluster\&quot;, \&quot;task\&quot;: {\&quot;processes\&quot;: [{\&quot;daemon\&quot;: false, \&quot;name\&quot;: \&quot;echo_ports\&quot;, \&quot;ephemeral\&quot;: false, \&quot;max_failures\&quot;: 1, \&quot;min_duration\&quot;: 5, \&quot;cmdline\&quot;: \&quot;echo \\\&quo
 t;tcp port: {{thermos.ports[tcp]}}; http port: {{thermos.ports[http]}}; alias: {{thermos.ports[alias]}}\\\&quot;\&quot;, \&quot;final\&quot;: false}, {\&quot;daemon\&quot;: false, \&quot;name\&quot;: \&quot;stage_server\&quot;, \&quot;ephemeral\&quot;: false, \&quot;max_failures\&quot;: 1, \&quot;min_duration\&quot;: 5, \&quot;cmdline\&quot;: \&quot;cp /vagrant/src/test/sh/org/apache/aurora/e2e/http_example.py .\&quot;, \&quot;final\&quot;: false}, {\&quot;daemon\&quot;: false, \&quot;name\&quot;: \&quot;run_server\&quot;, \&quot;ephemeral\&quot;: false, \&quot;max_failures\&quot;: 1, \&quot;min_duration\&quot;: 5, \&quot;cmdline\&quot;: \&quot;python http_example.py {{thermos.ports[http]}}\&quot;, \&quot;final\&quot;: false}], \&quot;name\&quot;: \&quot;http_example\&quot;, \&quot;finalization_wait\&quot;: 30, \&quot;max_failures\&quot;: 1, \&quot;max_concurrency\&quot;: 0, \&quot;resources\&quot;: {\&quot;disk\&quot;: 8388608, \&quot;ram\&quot;: 16777216, \&quot;cpu\&quot;: 0.1}, 
 \&quot;constraints\&quot;: [{\&quot;order\&quot;: [\&quot;echo_ports\&quot;, \&quot;stage_server\&quot;, \&quot;run_server\&quot;]}]}, \&quot;production\&quot;: false, \&quot;role\&quot;: \&quot;vagrant\&quot;, \&quot;contact\&quot;: \&quot;vagrant@localhost\&quot;, \&quot;announce\&quot;: {\&quot;primary_port\&quot;: \&quot;http\&quot;, \&quot;portmap\&quot;: {\&quot;alias\&quot;: \&quot;http\&quot;}}, \&quot;lifecycle\&quot;: {\&quot;http\&quot;: {\&quot;graceful_shutdown_endpoint\&quot;: \&quot;/quitquitquit\&quot;, \&quot;port\&quot;: \&quot;health\&quot;, \&quot;shutdown_endpoint\&quot;: \&quot;/abortabortabort\&quot;}}, \&quot;priority\&quot;: 0}&quot;},
-                    &quot;metadata&quot;:[],
-                    &quot;container&quot;:{
-                        &quot;cachedHashCode&quot;:-1955376216,
-                        &quot;setField&quot;:&quot;MESOS&quot;,
-                        &quot;value&quot;:{&quot;cachedHashCode&quot;:31}}
-                    },
-                    &quot;assignedPorts&quot;:{},
-                    &quot;instanceId&quot;:8
-        },
-        &quot;status&quot;:&quot;PENDING&quot;,
-        &quot;failureCount&quot;:0,
-        &quot;taskEvents&quot;:[
-            {&quot;cachedHashCode&quot;:0,&quot;timestamp&quot;:1464992060258,&quot;status&quot;:&quot;PENDING&quot;,&quot;scheduler&quot;:&quot;aurora&quot;}]
-        },
-        &quot;oldState&quot;:{}}
-</code></p>
+<p>And an example of a response that you will get back:</p>
+<pre class="highlight json"><code><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+    </span><span style="color: #000080">"task"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb">
+    </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"assignedTask"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"taskId"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"vagrant-test-http_example-8-a6cf7ec5-d793-49c7-b10f-0e14ab80bfff"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+            </span><span style="color: #000080">"task"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">-1819348376</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"job"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">803049425</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"role"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"vagrant"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"environment"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"test"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"name"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"http_example"</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"owner"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">226895216</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"user"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"vagrant"</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"isService"</span><span style="background-color: #f8f8f8">:</span><span style="color: #000000;font-weight: bold">true</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"numCpus"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0.1</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"ramMb"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">16</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"diskMb"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">8</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"priority"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"maxTaskFailures"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">1</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"production"</span><span style="background-color: #f8f8f8">:</span><span style="color: #000000;font-weight: bold">false</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"resources"</span><span style="background-color: #f8f8f8">:[</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">729800451</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"NUM_CPUS"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0.1</span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">552899914</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"RAM_MB"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">16</span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">-1547868317</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"DISK_MB"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">8</span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">1957328227</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"NAMED_PORT"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"http"</span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">1954229436</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"NAMED_PORT"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"tcp"</span><span style="background-color: #f8f8f8">}</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">],</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"constraints"</span><span style="background-color: #f8f8f8">:[],</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"requestedPorts"</span><span style="background-color: #f8f8f8">:[</span><span style="color: #d14">"http"</span><span style="background-color: #f8f8f8">,</span><span style="color: #d14">"tcp"</span><span style="background-color: #f8f8f8">],</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"taskLinks"</span><span style="background-color: #f8f8f8">:{</span><span style="color: #000080">"http"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"http://%host%:%port:http%"</span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"contactEmail"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"vagrant@localhost"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                </span><span style="color: #000080">"executorConfig"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="background-color: #f8f8f8">{</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">-1194797325</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"name"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"AuroraExecutor"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"data"</span><span style="background-color: #f8f8f8">:</span><span style="color: #bbbbbb"> </span><span style="color: #d14">"{\"environment\": \"test\", \"health_check_config\": {\"initial_interval_secs\": 5.0, \"health_checker\": { \"http\": {\"expected_response_code\": 0, \"endpoint\": \"/health\", \"expected_response\": \"ok\"}}, \"max_consecutive_failures\": 0, \"timeout_secs\": 1.0, \"interval_secs\": 1.0}, \"name\": \"http_example\", \"service\": true, \"max_task_failures\": 1, \"cron_collision_policy\": \"KILL_EXISTING\", \"enable_hooks\": false, \"cluster\": \"devcluster\", \"task\": {\"processes\": [{\"daemon\": false, \"name\": \"echo_ports\", \"ephemeral\": false, \"max_failures\": 1, \"min_duration\": 5, \"cmdline\": \"echo \\\"tcp port: {{thermos.ports[tcp]}}; http port: {{thermos.ports[http]}}; alias: {{thermos.ports[alias]}}\\\"\", \"final\": false}, {\"daemon\": false, \"name\": \"stage_server\", \"ephemeral\": 
 false, \"max_failures\": 1, \"min_duration\": 5, \"cmdline\": \"cp /vagrant/src/test/sh/org/apache/aurora/e2e/http_example.py .\", \"final\": false}, {\"daemon\": false, \"name\": \"run_server\", \"ephemeral\": false, \"max_failures\": 1, \"min_duration\": 5, \"cmdline\": \"python http_example.py {{thermos.ports[http]}}\", \"final\": false}], \"name\": \"http_example\", \"finalization_wait\": 30, \"max_failures\": 1, \"max_concurrency\": 0, \"resources\": {\"disk\": 8388608, \"ram\": 16777216, \"cpu\": 0.1}, \"constraints\": [{\"order\": [\"echo_ports\", \"stage_server\", \"run_server\"]}]}, \"production\": false, \"role\": \"vagrant\", \"contact\": \"vagrant@localhost\", \"announce\": {\"primary_port\": \"http\", \"portmap\": {\"alias\": \"http\"}}, \"lifecycle\": {\"http\": {\"graceful_shutdown_endpoint\": \"/quitquitquit\", \"port\": \"health\", \"shutdown_endpoint\": \"/abortabortabort\"}}, \"priority\": 0}"</span><span style="background-color: #f8f8f8">},</span><span style="col
 or: #bbbbbb">
+                    </span><span style="color: #000080">"metadata"</span><span style="background-color: #f8f8f8">:[],</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"container"</span><span style="background-color: #f8f8f8">:{</span><span style="color: #bbbbbb">
+                        </span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">-1955376216</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                        </span><span style="color: #000080">"setField"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"MESOS"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+                        </span><span style="color: #000080">"value"</span><span style="background-color: #f8f8f8">:{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">31</span><span style="background-color: #f8f8f8">}}</span><span style="color: #bbbbbb">
+                    </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"assignedPorts"</span><span style="background-color: #f8f8f8">:{},</span><span style="color: #bbbbbb">
+                    </span><span style="color: #000080">"instanceId"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">8</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"status"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"PENDING"</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"failureCount"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0</span><span style="background-color: #f8f8f8">,</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"taskEvents"</span><span style="background-color: #f8f8f8">:[</span><span style="color: #bbbbbb">
+            </span><span style="background-color: #f8f8f8">{</span><span style="color: #000080">"cachedHashCode"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">0</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"timestamp"</span><span style="background-color: #f8f8f8">:</span><span style="color: #009999">1464992060258</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"status"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"PENDING"</span><span style="background-color: #f8f8f8">,</span><span style="color: #000080">"scheduler"</span><span style="background-color: #f8f8f8">:</span><span style="color: #d14">"aurora"</span><span style="background-color: #f8f8f8">}]</span><span style="color: #bbbbbb">
+        </span><span style="background-color: #f8f8f8">},</span><span style="color: #bbbbbb">
+        </span><span style="color: #000080">"oldState"</span><span style="background-color: #f8f8f8">:{}}</span><span style="color: #bbbbbb">
+</span></code></pre>
 
 </div>
 

Modified: aurora/site/publish/documentation/latest/getting-started/overview/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/getting-started/overview/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/getting-started/overview/index.html (original)
+++ aurora/site/publish/documentation/latest/getting-started/overview/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/getting-started/overview/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/getting-started/tutorial/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/getting-started/tutorial/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/getting-started/tutorial/index.html (original)
+++ aurora/site/publish/documentation/latest/getting-started/tutorial/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/getting-started/tutorial/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/getting-started/vagrant/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/getting-started/vagrant/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/getting-started/vagrant/index.html (original)
+++ aurora/site/publish/documentation/latest/getting-started/vagrant/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/getting-started/vagrant/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/index.html (original)
+++ aurora/site/publish/documentation/latest/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -140,6 +144,8 @@ the <code>#aurora</code> IRC channel on
 <ul>
 <li><a href="operations/installation/">Installation</a></li>
 <li><a href="operations/configuration/">Configuration</a></li>
+<li><a href="operations/upgrades/">Upgrades</a></li>
+<li><a href="operations/troubleshooting/">Troubleshooting</a></li>
 <li><a href="operations/monitoring/">Monitoring</a></li>
 <li><a href="operations/security/">Security</a></li>
 <li><a href="operations/storage/">Storage</a></li>
@@ -168,6 +174,8 @@ the <code>#aurora</code> IRC channel on
 <li><a href="reference/client-cluster-configuration/">Client Cluster Configuration</a></li>
 </ul></li>
 <li><a href="reference/scheduler-configuration/">Scheduler Configuration</a></li>
+<li><a href="reference/observer-configuration/">Observer Configuration</a></li>
+<li><a href="reference/scheduler-endpoints/">Endpoints</a></li>
 </ul>
 
 <h2 id="additional-resources">Additional Resources</h2>

Modified: aurora/site/publish/documentation/latest/operations/backup-restore/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/backup-restore/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/backup-restore/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/backup-restore/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/backup-restore/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -101,7 +105,7 @@
 <p><strong>Be sure to read the entire page before attempting to restore from a backup, as it may have
 unintended consequences.</strong></p>
 
-<h1 id="summary">Summary</h1>
+<h2 id="summary">Summary</h2>
 
 <p>The restoration procedure replaces the existing (possibly corrupted) Mesos replicated log with an
 earlier, backed up, version and requires all schedulers to be taken down temporarily while
@@ -116,7 +120,7 @@ so any tasks that have been rescheduled
 <p>Instructions below have been verified in <a href="../../getting-started/vagrant/">Vagrant environment</a> and with minor
 syntax/path changes should be applicable to any Aurora cluster.</p>
 
-<h1 id="preparation">Preparation</h1>
+<h2 id="preparation">Preparation</h2>
 
 <p>Follow these steps to prepare the cluster for restoring from a backup:</p>
 
@@ -156,7 +160,7 @@ state and will kill all tasks when resta
 <li><p>Restart all schedulers</p></li>
 </ul>
 
-<h1 id="cleanup-and-re-initialize-mesos-replicated-log">Cleanup and re-initialize Mesos replicated log</h1>
+<h2 id="cleanup-and-re-initialize-mesos-replicated-log">Cleanup and re-initialize Mesos replicated log</h2>
 
 <p>Get rid of the corrupted files and re-initialize Mesos replicated log:</p>
 
@@ -167,7 +171,7 @@ state and will kill all tasks when resta
 <li>Start schedulers</li>
 </ul>
 
-<h1 id="restore-from-backup">Restore from backup</h1>
+<h2 id="restore-from-backup">Restore from backup</h2>
 
 <p>At this point the scheduler is ready to rehydrate from the backup:</p>
 
@@ -193,7 +197,7 @@ the provided backup snapshot and initiat
 <code>aurora_admin scheduler_commit_recovery --bypass-leader-redirect  &lt;cluster&gt;</code></p></li>
 </ul>
 
-<h1 id="cleanup">Cleanup</h1>
+<h2 id="cleanup">Cleanup</h2>
 
 <p>Undo any modification done during <a href="#preparation">Preparation</a> sequence.</p>
 

Modified: aurora/site/publish/documentation/latest/operations/configuration/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/configuration/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/configuration/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/configuration/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/configuration/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -126,7 +130,6 @@ documentation, see <a href="../../refere
 <span style="color: #999988;font-style: italic"># Environment variables controlling libmesos</span>
 <span style="color: #0086B3">export </span><span style="color: #008080">JAVA_HOME</span><span style="color: #000000;font-weight: bold">=</span>...
 <span style="color: #0086B3">export </span><span style="color: #008080">GLOG_v</span><span style="color: #000000;font-weight: bold">=</span>1
-<span style="color: #999988;font-style: italic"># Port and public ip used to communicate with the Mesos master and for the replicated log</span>
 <span style="color: #0086B3">export </span><span style="color: #008080">LIBPROCESS_PORT</span><span style="color: #000000;font-weight: bold">=</span>8083
 <span style="color: #0086B3">export </span><span style="color: #008080">LIBPROCESS_IP</span><span style="color: #000000;font-weight: bold">=</span>192.168.33.7
 
@@ -135,6 +138,36 @@ documentation, see <a href="../../refere
 
 <p>That way Aurora&rsquo;s current flags are visible in <code>ps</code> and in the <code>/vars</code> admin endpoint.</p>
 
+<h2 id="jvm-configuration">JVM Configuration</h2>
+
+<p>JVM settings are dependent on your environment and cluster size. They might require
+custom tuning. As a starting point, we recommend:</p>
+
+<ul>
+<li>Ensure the initial (<code>-Xms</code>) and maximum (<code>-Xmx</code>) heap size are idential to prevent heap resizing
+at runtime.</li>
+<li>Either <code>-XX:+UseConcMarkSweepGC</code> or <code>-XX:+UseG1GC -XX:+UseStringDeduplication</code> are
+sane defaults for the garbage collector.</li>
+<li><code>-Djava.net.preferIPv4Stack=true</code> makes sense in most cases as well.</li>
+</ul>
+
+<h2 id="network-configuration">Network Configuration</h2>
+
+<p>By default, Aurora binds to all interfaces and auto-discovers its hostname. To reduce ambiguity
+it helps to hardcode them though:</p>
+<pre class="highlight plaintext"><code>-http_port=8081
+-ip=192.168.33.7
+-hostname="aurora1.us-east1.example.org"
+</code></pre>
+
+<p>Two environment variables control the ip and port for the communication with the Mesos master
+and for the replicated log used by Aurora:</p>
+<pre class="highlight plaintext"><code>export LIBPROCESS_PORT=8083
+export LIBPROCESS_IP=192.168.33.7
+</code></pre>
+
+<p>It is important that those can be reached from all Mesos master and Aurora scheduler instances.</p>
+
 <h2 id="replicated-log-configuration">Replicated Log Configuration</h2>
 
 <p>Aurora schedulers use ZooKeeper to discover log replicas and elect a leader. Only one scheduler is
@@ -180,14 +213,19 @@ should be set to <code>3</code>.</p>
 
 <h3 id="native_log_file_path"><code>-native_log_file_path</code></h3>
 
-<p>Location of the Mesos replicated log files. Consider allocating a dedicated disk (preferably SSD)
-for Mesos replicated log files to ensure optimal storage performance.</p>
+<p>Location of the Mesos replicated log files. For optimal and consistent performance, consider
+allocating a dedicated disk (preferably SSD) for the replicated log. Ensure that this disk is not
+used by anything else (e.g. no process logging) and in particular that it is a real disk
+and not just a partition.</p>
+
+<p>Even when a dedicated disk is used, switching from <code>CFQ</code> to <code>deadline</code> I/O scheduler of Linux kernel
+can furthermore help with storage performance in Aurora (<a href="https://issues.apache.org/jira/browse/AURORA-1211">see this ticket for details</a>).</p>
 
 <h3 id="native_log_zk_group_path"><code>-native_log_zk_group_path</code></h3>
 
 <p>ZooKeeper path used for Mesos replicated log quorum discovery.</p>
 
-<p>See <a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/java/org/apache/aurora/scheduler/log/mesos/MesosLogStreamModule.java">code</a> for
+<p>See <a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/java/org/apache/aurora/scheduler/log/mesos/MesosLogStreamModule.java">code</a> for
 other available Mesos replicated log configuration options and default values.</p>
 
 <h3 id="changing-the-quorum-size">Changing the Quorum Size</h3>
@@ -209,8 +247,10 @@ or truncating of the replicated log used
 <p>Configuration options for the Aurora scheduler backup manager.</p>
 
 <ul>
-<li><code>-backup_interval</code>: The interval on which the scheduler writes local storage backups.  The default is every hour.</li>
-<li><code>-backup_dir</code>: Directory to write backups to.</li>
+<li><code>-backup_interval</code>: The interval on which the scheduler writes local storage backups.
+The default is every hour.</li>
+<li><code>-backup_dir</code>: Directory to write backups to. As stated above, this should not be co-located on the
+same disk as the replicated log.</li>
 <li><code>-max_saved_backups</code>: Maximum number of backups to retain before deleting the oldest backup(s).</li>
 </ul>
 
@@ -253,11 +293,29 @@ the latter needs to be enabled via:</p>
 <pre class="highlight plaintext"><code>-enable_revocable_ram=true
 </code></pre>
 
-<p>Unless you want to use the <a href="https://github.com/apache/aurora/blob/rel/0.17.0/src/main/resources/org/apache/aurora/scheduler/tiers.json">default</a>
+<p>Unless you want to use the <a href="https://github.com/apache/aurora/blob/rel/0.18.0/src/main/resources/org/apache/aurora/scheduler/tiers.json">default</a>
 tier configuration, you will also have to specify a file path:</p>
 <pre class="highlight plaintext"><code>-tier_config=path/to/tiers/config.json
 </code></pre>
 
+<h2 id="multi-framework-setup">Multi-Framework Setup</h2>
+
+<p>Aurora holds onto Mesos offers in order to provide efficient scheduling and
+<a href="../../features/multitenancy/#preemption">preemption</a>. This is problematic in multi-framework
+environments as Aurora might starve other frameworks.</p>
+
+<p>With a downside of increased scheduling latency, Aurora can be configured to be more cooperative:</p>
+
+<ul>
+<li>Lowering <code>-min_offer_hold_time</code> (e.g. to <code>1mins</code>) can ensure unused offers are returned back to
+Mesos more frequently.</li>
+<li>Increasing <code>-offer_filter_duration</code> (e.g to <code>30secs</code>) will instruct Mesos
+not to re-offer rejected resources for the given duration.</li>
+</ul>
+
+<p>Setting a <a href="http://mesos.apache.org/documentation/latest/quota/">minimum amount of resources</a> for
+each Mesos role can furthermore help to ensure no framework is starved entirely.</p>
+
 <h2 id="containers">Containers</h2>
 
 <p>Both the Mesos and Docker containerizers require configuration of the Mesos agent.</p>
@@ -370,6 +428,42 @@ The flag must be set to the path of a va
 will result in degraded preemption performance until all task which began life with the previous
 executor configuration with less overhead are preempted/restarted.</p>
 
+<h2 id="controlling-mtta-via-update-affinity">Controlling MTTA via Update Affinity</h2>
+
+<p>When there is high resource contention in your cluster you may experience noticably elevated job update
+times, as well as high task churn across the cluster. This is due to Aurora&rsquo;s first-fit scheduling
+algorithm. To alleviate this, you can enable update affinity where the Scheduler will make a best-effort
+attempt to reuse the same agent for the updated task (so long as the resources for the job are not being
+increased).</p>
+
+<p>To enable this in the Scheduler, you can set the following options:</p>
+<pre class="highlight plaintext"><code>--enable_update_affinity=true
+--update_affinity_reservation_hold_time=3mins
+</code></pre>
+
+<p>You will need to tune the hold time to match the behavior you see in your cluster. If you have extremely
+high update throughput, you might have to extend it as processing updates could easily add significant
+delays between scheduling attempts. You may also have to tune scheduling parameters to achieve the
+throughput you need in your cluster. Some relevant settings (with defaults) are:</p>
+<pre class="highlight plaintext"><code>--max_schedule_attempts_per_sec=40
+--initial_schedule_penalty=1secs
+--max_schedule_penalty=1mins
+--scheduling_max_batch_size=3
+--max_tasks_per_schedule_attempt=5
+</code></pre>
+
+<p>There are metrics exposed by the Scheduler which can provide guidance on where the bottleneck is.
+Example metrics to look at:</p>
+<pre class="highlight plaintext"><code>- schedule_attempts_blocks (if this number is greater than 0, then task throughput is hitting
+                            limits controlled by --max_scheduler_attempts_per_sec)
+- scheduled_task_penalty_* (metrics around scheduling penalties for tasks, if the numbers here are high
+                            then you could have high contention for resources)
+</code></pre>
+
+<p>Most likely you&rsquo;ll run into limits with the number of update instances that can be processed per minute
+before you run into any other limits. So if your total work done per minute starts to exceed 2k instances,
+you may need to extend the update<em>affinity</em>reservation<em>hold</em>time.</p>
+
 </div>
 
       </div>

Modified: aurora/site/publish/documentation/latest/operations/installation/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/installation/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/installation/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/installation/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/installation/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -125,7 +129,9 @@ profiles:</p>
 
 <p>A small number of machines (typically 3 or 5) responsible for cluster orchestration.  In most cases
 it is fine to co-locate these components in anything but very large clusters (&gt; 1000 machines).
-Beyond that point, operators will likely want to manage these services on separate machines.</p>
+Beyond that point, operators will likely want to manage these services on separate machines.
+In particular, you will want to use separate ZooKeeper ensembles for leader election and
+service discovery. Otherwise a service discovery error or outage can take down the entire cluster.</p>
 
 <p>In practice, 5 coordinators have been shown to reliably manage clusters with tens of thousands of
 machines.</p>
@@ -245,7 +251,7 @@ sudo yum install -y aurora-executor-0.17
 </code></pre></li>
 </ol>
 
-<h3 id="configuration">Configuration</h3>
+<h3 id="worker-configuration">Worker Configuration</h3>
 
 <p>The executor typically does not require configuration.  Command line arguments can
 be passed to the executor using a command line argument on the scheduler.</p>
@@ -321,7 +327,7 @@ sudo yum install -y aurora-tools-0.17.0-
 brew install aurora-cli
 </code></pre>
 
-<h3 id="configuration">Configuration</h3>
+<h3 id="client-configuration">Client Configuration</h3>
 
 <p>Client configuration lives in a json file that describes the clusters available and how to reach
 them.  By default this file is at <code>/etc/aurora/clusters.json</code>.</p>
@@ -357,70 +363,7 @@ sudo yum -y install mesos-1.1.0
 <h2 id="troubleshooting">Troubleshooting</h2>
 
 <p>So you&rsquo;ve started your first cluster and are running into some issues? We&rsquo;ve collected some common
-stumbling blocks and solutions here to help get you moving.</p>
-
-<h3 id="replicated-log-not-initialized">Replicated log not initialized</h3>
-
-<h4 id="symptoms">Symptoms</h4>
-
-<ul>
-<li>Scheduler RPCs and web interface claim <code>Storage is not READY</code></li>
-<li>Scheduler log repeatedly prints messages like</li>
-</ul>
-<pre class="highlight plaintext"><code>  I1016 16:12:27.234133 26081 replica.cpp:638] Replica in EMPTY status
-  received a broadcasted recover request
-  I1016 16:12:27.234256 26084 recover.cpp:188] Received a recover response
-  from a replica in EMPTY status
-</code></pre>
-
-<h4 id="solution">Solution</h4>
-
-<p>When you create a new cluster, you need to inform a quorum of schedulers that they are safe to
-consider their database to be empty by <a href="#finalizing">initializing</a> the
-replicated log. This is done to prevent the scheduler from modifying the cluster state in the event
-of multiple simultaneous disk failures or, more likely, misconfiguration of the replicated log path.</p>
-
-<h3 id="scheduler-not-registered">Scheduler not registered</h3>
-
-<h4 id="symptoms">Symptoms</h4>
-
-<p>Scheduler log contains</p>
-<pre class="highlight plaintext"><code>Framework has not been registered within the tolerated delay.
-</code></pre>
-
-<h4 id="solution">Solution</h4>
-
-<p>Double-check that the scheduler is configured correctly to reach the Mesos master. If you are registering
-the master in ZooKeeper, make sure command line argument to the master:</p>
-<pre class="highlight plaintext"><code>--zk=zk://$ZK_HOST:2181/mesos/master
-</code></pre>
-
-<p>is the same as the one on the scheduler:</p>
-<pre class="highlight plaintext"><code>-mesos_master_address=zk://$ZK_HOST:2181/mesos/master
-</code></pre>
-
-<h3 id="scheduler-not-running">Scheduler not running</h3>
-
-<h3 id="symptom">Symptom</h3>
-
-<p>The scheduler process commits suicide regularly. This happens under error conditions, but
-also on purpose in regular intervals.</p>
-
-<h2 id="solution">Solution</h2>
-
-<p>Aurora is meant to be run under supervision. You have to configure a supervisor like
-<a href="http://mmonit.com/monit/">Monit</a> or <a href="http://supervisord.org/">supervisord</a> to run the scheduler
-and restart it whenever it fails or exists on purpose.</p>
-
-<p>Aurora supports an active health checking protocol on its admin HTTP interface - if a <code>GET /health</code>
-times out or returns anything other than <code>200 OK</code> the scheduler process is unhealthy and should be
-restarted.</p>
-
-<p>For example, monit can be configured with</p>
-<pre class="highlight plaintext"><code>if failed port 8081 send "GET /health HTTP/1.0\r\n" expect "OK\n" with timeout 2 seconds for 10 cycles then restart
-</code></pre>
-
-<p>assuming you set <code>-http_port=8081</code>.</p>
+stumbling blocks and solutions in our <a href="../troubleshooting/">Troubleshooting guide</a> to help get you moving.</p>
 
 </div>
 

Modified: aurora/site/publish/documentation/latest/operations/monitoring/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/monitoring/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/monitoring/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/monitoring/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/monitoring/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/operations/security/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/security/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/security/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/security/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/security/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/operations/storage/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/operations/storage/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/operations/storage/index.html (original)
+++ aurora/site/publish/documentation/latest/operations/storage/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/operations/storage/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -100,8 +104,6 @@
 
 <ul>
 <li><a href="#overview">Overview</a></li>
-<li><a href="#replicated-log-configuration">Replicated Log Configuration</a></li>
-<li><a href="#replicated-log-configuration">Backup Configuration</a></li>
 <li><a href="#storage-semantics">Storage Semantics</a>
 
 <ul>
@@ -125,8 +127,9 @@ For example:</p>
 <li>Mesos resource offer host attributes</li>
 </ul>
 
-<p>Aurora solves its persistence needs by leveraging the Mesos implementation of a Paxos replicated
-log <a href="https://ramcloud.stanford.edu/~ongaro/userstudy/paxos.pdf">[1]</a>
+<p>Aurora solves its persistence needs by leveraging the
+<a href="http://mesos.apache.org/documentation/latest/replicated-log-internals/">Mesos implementation of a Paxos replicated log</a>
+<a href="https://ramcloud.stanford.edu/~ongaro/userstudy/paxos.pdf">[1]</a>
 <a href="http://en.wikipedia.org/wiki/State_machine_replication">[2]</a> with a key-value
 <a href="https://github.com/google/leveldb">LevelDB</a> storage as persistence media.</p>
 

Modified: aurora/site/publish/documentation/latest/reference/client-cluster-configuration/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/client-cluster-configuration/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/client-cluster-configuration/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/client-cluster-configuration/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/client-cluster-configuration/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/reference/client-commands/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/client-commands/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/client-commands/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/client-commands/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/client-commands/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -131,6 +135,7 @@
 <li><a href="#getting-job-status">Getting Job Status</a></li>
 <li><a href="#opening-the-web-ui">Opening the Web UI</a></li>
 <li><a href="#sshing-to-a-specific-task-machine">SSHing to a Specific Task Machine</a></li>
+<li><a href="#scping-with-specific-task-machines">SCPing with Specific Task Machines</a></li>
 <li><a href="#templating-command-arguments">Templating Command Arguments</a></li>
 </ul></li>
 </ul>
@@ -399,6 +404,18 @@ assigned a particular Job/shard number.
 diagnosing issues such as performance issues or abnormal behavior on a
 particular machine.</p>
 
+<h3 id="scping-with-specific-task-machines">SCPing with Specific Task Machines</h3>
+<pre class="highlight plaintext"><code>aurora task scp [&lt;cluster&gt;/&lt;role&gt;/&lt;env&gt;/&lt;job_name&gt;/&lt;instance_id&gt;]:source [&lt;cluster&gt;/&lt;role&gt;/&lt;env&gt;/&lt;job_name&gt;/&lt;instance_id&gt;]:dest
+</code></pre>
+
+<p>You can have the Aurora client copy file(s)/folder(s) to, from, and between
+individual tasks. The sandbox folder serves as the relative root and is the
+same folder you see when you browse <code>chroot</code> from the Scheduler task UI. You
+can also use absolute paths (like for <code>/tmp</code>), but tilde expansion is not
+supported. Currently, this command is only fully supported for Mesos
+containers. Users may use this to copy files from Docker containers but they
+cannot copy files to them.</p>
+
 <h3 id="templating-command-arguments">Templating Command Arguments</h3>
 <pre class="highlight plaintext"><code>aurora task run [-e] [-t THREADS] &lt;job_key&gt; -- &lt;&lt;command-line&gt;&gt;
 </code></pre>

Modified: aurora/site/publish/documentation/latest/reference/client-hooks/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/client-hooks/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/client-hooks/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/client-hooks/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/client-hooks/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/reference/configuration-best-practices/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/configuration-best-practices/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/configuration-best-practices/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/configuration-best-practices/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/configuration-best-practices/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/reference/configuration-templating/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/configuration-templating/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/configuration-templating/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/configuration-templating/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/configuration-templating/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/reference/configuration-tutorial/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/configuration-tutorial/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/configuration-tutorial/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/configuration-tutorial/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/configuration-tutorial/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >

Modified: aurora/site/publish/documentation/latest/reference/configuration/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/configuration/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/configuration/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/configuration/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/configuration/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -948,6 +952,37 @@ unified-container, the container can be
 <td style="text-align: center">Choice(AppcImage, DockerImage)</td>
 <td>An optional filesystem image to use within this container.</td>
 </tr>
+<tr>
+<td><code>volumes</code></td>
+<td style="text-align: center">List(Volume)</td>
+<td>An optional list of volume mounts for this container.</td>
+</tr>
+</tbody></table>
+
+<h3 id="volume-object">Volume Object</h3>
+
+<table><thead>
+<tr>
+<th>param</th>
+<th style="text-align: center">type</th>
+<th>description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td><code>container_path</code></td>
+<td style="text-align: center">String</td>
+<td>Path on the host to mount.</td>
+</tr>
+<tr>
+<td><code>volume_path</code></td>
+<td style="text-align: center">String</td>
+<td>Mount point in the container.</td>
+</tr>
+<tr>
+<td><code>mode</code></td>
+<td style="text-align: center">Enum</td>
+<td>Mode of the mount, can be &lsquo;RW&rsquo; or &#39;RO&rsquo;.</td>
+</tr>
 </tbody></table>
 
 <h3 id="appcimage">AppcImage</h3>

Modified: aurora/site/publish/documentation/latest/reference/scheduler-configuration/index.html
URL: http://svn.apache.org/viewvc/aurora/site/publish/documentation/latest/reference/scheduler-configuration/index.html?rev=1799388&r1=1799387&r2=1799388&view=diff
==============================================================================
--- aurora/site/publish/documentation/latest/reference/scheduler-configuration/index.html (original)
+++ aurora/site/publish/documentation/latest/reference/scheduler-configuration/index.html Wed Jun 21 06:28:50 2017
@@ -41,10 +41,14 @@
 <h5 class="page-header text-uppercase">Documentation
 <select onChange="window.location.href='/documentation/' + this.value + '/reference/scheduler-configuration/'"
         value="latest">
+  <option value="0.18.0"
+    >
+    0.18.0
+      (latest)
+  </option>
   <option value="0.17.0"
     >
     0.17.0
-      (latest)
   </option>
   <option value="0.16.0"
     >
@@ -286,6 +290,8 @@ Optional flags:
     If true, Aurora populates DiscoveryInfo field of Mesos TaskInfo.
 -preemption_delay (default (3, mins))
     Time interval after which a pending task becomes eligible to preempt other tasks
+-preemption_slot_finder_modules (default [class org.apache.aurora.scheduler.preemptor.PendingTaskProcessorModule, class org.apache.aurora.scheduler.preemptor.PreemptionVictimFilterModule])
+  Guice modules for replacing preemption logic.
 -preemption_slot_hold_time (default (5, mins))
     Time to hold a preemption slot found before it is discarded.
 -preemption_slot_search_interval (default (1, mins))
@@ -330,6 +336,8 @@ Optional flags:
     Time for a stat to be retained in memory before expiring.
 -stat_sampling_interval (default (1, secs))
     Statistic value sampling interval.
+-task_assigner_modules (default [class org.apache.aurora.scheduler.state.FirstFitTaskAssignerModule])
+  Guice modules for replacing task assignment logic.
 -thermos_executor_cpu (default 0.25)
     The number of CPU cores to allocate for each instance of the executor.
 -thermos_executor_flags



Mime
View raw message