Added: 
aurora/site/publish/documentation/0.20.0/reference/observer-configuration/index.html
URL: 
http://svn.apache.org/viewvc/aurora/site/publish/documentation/0.20.0/reference/observer-configuration/index.html?rev=1828294&view=auto
==============================================================================
--- 
aurora/site/publish/documentation/0.20.0/reference/observer-configuration/index.html
 (added)
+++ 
aurora/site/publish/documentation/0.20.0/reference/observer-configuration/index.html
 Tue Apr  3 23:54:44 2018
@@ -0,0 +1,251 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title>Apache Aurora</title>
+    <link rel="stylesheet" 
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css";>
+    <link href="/assets/css/main.css" rel="stylesheet">
+       <!-- Analytics -->
+       <script type="text/javascript">
+                 var _gaq = _gaq || [];
+                 _gaq.push(['_setAccount', 'UA-45879646-1']);
+                 _gaq.push(['_setDomainName', 'apache.org']);
+                 _gaq.push(['_trackPageview']);
+
+                 (function() {
+                   var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+                   ga.src = ('https:' == document.location.protocol ? 
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                   var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+                 })();
+       </script>
+  </head>
+  <body>
+    <div class="container-fluid section-header">
+  <div class="container">
+    <div class="nav nav-bar">
+    <a href="/"><img src="/assets/img/aurora_logo_dkbkg.svg" width="300" 
alt="Transparent Apache Aurora logo with dark background"/></a>
+    <ul class="nav navbar-nav navbar-right">
+      <li><a href="/documentation/latest/">Documentation</a></li>
+      <li><a href="/community/">Community</a></li>
+      <li><a href="/downloads/">Downloads</a></li>
+      <li><a href="/blog/">Blog</a></li>
+    </ul>
+    </div>
+  </div>
+</div>
+       
+    <div class="container-fluid">
+      <div class="container content">
+        <div class="col-md-12 documentation">
+<h5 class="page-header text-uppercase">Documentation
+<select onChange="window.location.href='/documentation/' + this.value + 
'/reference/observer-configuration/'"
+        value="0.20.0">
+  <option value="0.20.0"
+    selected="selected">
+    0.20.0
+      (latest)
+  </option>
+  <option value="0.19.1"
+    >
+    0.19.1
+  </option>
+  <option value="0.19.0"
+    >
+    0.19.0
+  </option>
+  <option value="0.18.1"
+    >
+    0.18.1
+  </option>
+  <option value="0.18.0"
+    >
+    0.18.0
+  </option>
+  <option value="0.17.0"
+    >
+    0.17.0
+  </option>
+  <option value="0.16.0"
+    >
+    0.16.0
+  </option>
+  <option value="0.15.0"
+    >
+    0.15.0
+  </option>
+  <option value="0.14.0"
+    >
+    0.14.0
+  </option>
+  <option value="0.13.0"
+    >
+    0.13.0
+  </option>
+  <option value="0.12.0"
+    >
+    0.12.0
+  </option>
+  <option value="0.11.0"
+    >
+    0.11.0
+  </option>
+  <option value="0.10.0"
+    >
+    0.10.0
+  </option>
+  <option value="0.9.0"
+    >
+    0.9.0
+  </option>
+  <option value="0.8.0"
+    >
+    0.8.0
+  </option>
+  <option value="0.7.0-incubating"
+    >
+    0.7.0-incubating
+  </option>
+  <option value="0.6.0-incubating"
+    >
+    0.6.0-incubating
+  </option>
+  <option value="0.5.0-incubating"
+    >
+    0.5.0-incubating
+  </option>
+</select>
+</h5>
+<h1 id="observer-configuration-reference">Observer Configuration Reference</h1>
+
+<p>The Aurora/Thermos observer can take a variety of configuration options 
through command-line arguments.
+A list of the available options can be seen by running <code>thermos_observer 
--long-help</code>.</p>
+
+<p>Please refer to the <a href="../../operations/configuration/">Operator 
Configuration Guide</a> for details on how
+to properly set the most important options.</p>
+<pre class="highlight plaintext"><code>$ thermos_observer.pex --long-help
+Options:
+  -h, --help, --short-help
+                        show this help message and exit.
+  --long-help           show options from all registered modules, not just the
+                        __main__ module.
+  --mesos-root=MESOS_ROOT
+                        The mesos root directory to search for Thermos
+                        executor sandboxes [default: /var/lib/mesos]
+  --ip=IP               The IP address the observer will bind to. [default:
+                        0.0.0.0]
+  --port=PORT           The port on which the observer should listen.
+                        [default: 1338]
+  --polling_interval_secs=POLLING_INTERVAL_SECS
+                        The number of seconds between observer refresh
+                        attempts. [default: 5]
+  --task_process_collection_interval_secs=TASK_PROCESS_COLLECTION_INTERVAL_SECS
+                        The number of seconds between per task process
+                        resource collections. [default: 20]
+  --task_disk_collection_interval_secs=TASK_DISK_COLLECTION_INTERVAL_SECS
+                        The number of seconds between per task disk resource
+                        collections. [default: 60]
+  --enable_mesos_disk_collector
+                        Delegate per task disk usage collection to agent.
+                        Should be enabled in conjunction to disk isolation in
+                        Mesos-agent. This is not compatible with an
+                        authenticated agent API. [default: False]
+  --agent_api_url=AGENT_API_URL
+                        Mesos Agent API url. [default:
+                        http://localhost:5051/containers]
+  --executor_id_json_path=EXECUTOR_ID_JSON_PATH
+                        `jmespath` to executor_id key in agent response json
+                        object. [default: executor_id]
+  --disk_usage_json_path=DISK_USAGE_JSON_PATH
+                        `jmespath` to disk usage bytes value in agent response
+                        json object. [default: statistics.disk_used_bytes]
+
+  From module twitter.common.app:
+    --app_daemonize     Daemonize this application. [default: False]
+    --app_profile_output=FILENAME
+                        Dump the profiling output to a binary profiling
+                        format. [default: None]
+    --app_daemon_stderr=TWITTER_COMMON_APP_DAEMON_STDERR
+                        Direct this app's stderr to this file if daemonized.
+                        [default: /dev/null]
+    --app_debug         Print extra debugging information during application
+                        initialization. [default: False]
+    --app_rc_filename   Print the filename for the rc file and quit. [default:
+                        False]
+    --app_daemon_stdout=TWITTER_COMMON_APP_DAEMON_STDOUT
+                        Direct this app's stdout to this file if daemonized.
+                        [default: /dev/null]
+    --app_profiling     Run profiler on the code while it runs.  Note this can
+                        cause slowdowns. [default: False]
+    --app_ignore_rc_file
+                        Ignore default arguments from the rc file. [default:
+                        False]
+    --app_pidfile=TWITTER_COMMON_APP_PIDFILE
+                        The pidfile to use if --app_daemonize is specified.
+                        [default: None]
+
+  From module twitter.common.log.options:
+    --log_to_stdout=[scheme:]LEVEL
+                        OBSOLETE - legacy flag, use --log_to_stderr instead.
+                        [default: ERROR]
+    --log_to_stderr=[scheme:]LEVEL
+                        The level at which logging to stderr [default: ERROR].
+                        Takes either LEVEL or scheme:LEVEL, where LEVEL is one
+                        of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL']
+                        and scheme is one of ['google', 'plain'].
+    --log_to_disk=[scheme:]LEVEL
+                        The level at which logging to disk [default: INFO].
+                        Takes either LEVEL or scheme:LEVEL, where LEVEL is one
+                        of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL']
+                        and scheme is one of ['google', 'plain'].
+    --log_dir=DIR       The directory into which log files will be generated
+                        [default: /var/tmp].
+    --log_simple        Write a single log file rather than one log file per
+                        log level [default: False].
+    --log_to_scribe=[scheme:]LEVEL
+                        The level at which logging to scribe [default: NONE].
+                        Takes either LEVEL or scheme:LEVEL, where LEVEL is one
+                        of ['INFO', 'NONE', 'WARN', 'ERROR', 'DEBUG', 'FATAL']
+                        and scheme is one of ['google', 'plain'].
+    --scribe_category=CATEGORY
+                        The category used when logging to the scribe daemon.
+                        [default: python_default].
+    --scribe_buffer     Buffer messages when scribe is unavailable rather than
+                        dropping them. [default: False].
+    --scribe_host=HOST  The host running the scribe daemon. [default:
+                        localhost].
+    --scribe_port=PORT  The port used to connect to the scribe daemon.
+                        [default: 1463].
+</code></pre>
+
+</div>
+
+      </div>
+    </div>
+       <div class="container-fluid section-footer buffer">
+      <div class="container">
+        <div class="row">
+                 <div class="col-md-2 col-md-offset-1"><h3>Quick Links</h3>
+                 <ul>
+                   <li><a href="/downloads/">Downloads</a></li>
+            <li><a href="/community/">Mailing Lists</a></li>
+                       <li><a 
href="http://issues.apache.org/jira/browse/AURORA";>Issue Tracking</a></li>
+                       <li><a href="/documentation/latest/contributing/">How 
To Contribute</a></li>     
+                 </ul>
+             </div>
+                 <div class="col-md-2"><h3>The ASF</h3>
+          <ul>
+            <li><a href="http://www.apache.org/licenses/";>License</a></li>
+            <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>  
+            <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+            <li><a href="http://www.apache.org/security/";>Security</a></li>
+          </ul>
+                 </div>
+                 <div class="col-md-6">
+                       <p class="disclaimer">&copy; 2014-2017 <a 
href="http://www.apache.org/";>Apache Software Foundation</a>. Licensed under 
the <a href="http://www.apache.org/licenses/";>Apache License v2.0</a>. The <a 
href="https://www.flickr.com/photos/trondk/12706051375/";>Aurora Borealis IX 
photo</a> displayed on the homepage is available under a <a 
href="https://creativecommons.org/licenses/by-nc-nd/2.0/";>Creative Commons 
BY-NC-ND 2.0 license</a>. Apache, Apache Aurora, and the Apache feather logo 
are trademarks of The Apache Software Foundation.</p>
+        </div>
+      </div>
+    </div>
+
+  </body>
+</html>

Added: 
aurora/site/publish/documentation/0.20.0/reference/scheduler-configuration/index.html
URL: 
http://svn.apache.org/viewvc/aurora/site/publish/documentation/0.20.0/reference/scheduler-configuration/index.html?rev=1828294&view=auto
==============================================================================
--- 
aurora/site/publish/documentation/0.20.0/reference/scheduler-configuration/index.html
 (added)
+++ 
aurora/site/publish/documentation/0.20.0/reference/scheduler-configuration/index.html
 Tue Apr  3 23:54:44 2018
@@ -0,0 +1,404 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title>Apache Aurora</title>
+    <link rel="stylesheet" 
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css";>
+    <link href="/assets/css/main.css" rel="stylesheet">
+       <!-- Analytics -->
+       <script type="text/javascript">
+                 var _gaq = _gaq || [];
+                 _gaq.push(['_setAccount', 'UA-45879646-1']);
+                 _gaq.push(['_setDomainName', 'apache.org']);
+                 _gaq.push(['_trackPageview']);
+
+                 (function() {
+                   var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+                   ga.src = ('https:' == document.location.protocol ? 
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                   var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+                 })();
+       </script>
+  </head>
+  <body>
+    <div class="container-fluid section-header">
+  <div class="container">
+    <div class="nav nav-bar">
+    <a href="/"><img src="/assets/img/aurora_logo_dkbkg.svg" width="300" 
alt="Transparent Apache Aurora logo with dark background"/></a>
+    <ul class="nav navbar-nav navbar-right">
+      <li><a href="/documentation/latest/">Documentation</a></li>
+      <li><a href="/community/">Community</a></li>
+      <li><a href="/downloads/">Downloads</a></li>
+      <li><a href="/blog/">Blog</a></li>
+    </ul>
+    </div>
+  </div>
+</div>
+       
+    <div class="container-fluid">
+      <div class="container content">
+        <div class="col-md-12 documentation">
+<h5 class="page-header text-uppercase">Documentation
+<select onChange="window.location.href='/documentation/' + this.value + 
'/reference/scheduler-configuration/'"
+        value="0.20.0">
+  <option value="0.20.0"
+    selected="selected">
+    0.20.0
+      (latest)
+  </option>
+  <option value="0.19.1"
+    >
+    0.19.1
+  </option>
+  <option value="0.19.0"
+    >
+    0.19.0
+  </option>
+  <option value="0.18.1"
+    >
+    0.18.1
+  </option>
+  <option value="0.18.0"
+    >
+    0.18.0
+  </option>
+  <option value="0.17.0"
+    >
+    0.17.0
+  </option>
+  <option value="0.16.0"
+    >
+    0.16.0
+  </option>
+  <option value="0.15.0"
+    >
+    0.15.0
+  </option>
+  <option value="0.14.0"
+    >
+    0.14.0
+  </option>
+  <option value="0.13.0"
+    >
+    0.13.0
+  </option>
+  <option value="0.12.0"
+    >
+    0.12.0
+  </option>
+  <option value="0.11.0"
+    >
+    0.11.0
+  </option>
+  <option value="0.10.0"
+    >
+    0.10.0
+  </option>
+  <option value="0.9.0"
+    >
+    0.9.0
+  </option>
+  <option value="0.8.0"
+    >
+    0.8.0
+  </option>
+  <option value="0.7.0-incubating"
+    >
+    0.7.0-incubating
+  </option>
+  <option value="0.6.0-incubating"
+    >
+    0.6.0-incubating
+  </option>
+  <option value="0.5.0-incubating"
+    >
+    0.5.0-incubating
+  </option>
+</select>
+</h5>
+<h1 id="scheduler-configuration-reference">Scheduler Configuration 
Reference</h1>
+
+<p>The Aurora scheduler can take a variety of configuration options through 
command-line arguments.
+A list of the available options can be seen by running <code>aurora-scheduler 
-help</code>.</p>
+
+<p>Please refer to the <a href="../../operations/configuration/">Operator 
Configuration Guide</a> for details on how
+to properly set the most important options.</p>
+<pre class="highlight plaintext"><code>$ aurora-scheduler -help
+-------------------------------------------------------------------------
+-h or -help to print this help message
+
+Required flags:
+-backup_dir [not null]
+    Directory to store backups under. Will be created if it does not exist.
+-cluster_name [not null]
+    Name to identify the cluster being served.
+-framework_authentication_file
+    Properties file which contains framework credentials to authenticate with 
Mesosmaster. Must contain the properties 'aurora_authentication_principal' and 
'aurora_authentication_secret'.
+-ip
+    The ip address to listen. If not set, the scheduler will listen on all 
interfaces.
+-mesos_master_address [not null]
+    Address for the mesos master, can be a socket address or zookeeper path.
+-mesos_role
+    The Mesos role this framework will register as. The default is to left 
this empty, and the framework will register without any role and only receive 
unreserved resources in offer.
+-serverset_path [not null, must be non-empty]
+    ZooKeeper ServerSet path to register at.
+-shiro_after_auth_filter
+    Fully qualified class name of the servlet filter to be applied after the 
shiro auth filters are applied.
+-thermos_executor_path
+    Path to the thermos executor entry point.
+-tier_config [file must be readable]
+    Configuration file defining supported task tiers, task traits and 
behaviors.
+-webhook_config [file must exist, file must be readable]
+    Path to webhook configuration file.
+-zk_endpoints [must have at least 1 item]
+    Endpoint specification for the ZooKeeper servers.
+
+Optional flags:
+-allow_container_volumes (default false)
+    Allow passing in volumes in the job. Enabling this could pose a privilege 
escalation threat.
+-allow_docker_parameters (default false)
+    Allow to pass docker container parameters in the job.
+-allow_gpu_resource (default false)
+    Allow jobs to request Mesos GPU resource.
+-allowed_container_types (default [MESOS])
+    Container types that are allowed to be used by jobs.
+-allowed_job_environments (default ^(prod|devel|test|staging\d*)$)
+    Regular expression describing the environments that are allowed to be used 
by jobs.
+-async_slot_stat_update_interval (default (1, mins))
+    Interval on which to try to update open slot stats.
+-async_task_stat_update_interval (default (1, hrs))
+    Interval on which to try to update resource consumption stats.
+-async_worker_threads (default 8)
+    The number of worker threads to process async task operations with.
+-backup_interval (default (1, hrs))
+    Minimum interval on which to write a storage backup.
+-cron_scheduler_num_threads (default 10)
+    Number of threads to use for the cron scheduler thread pool.
+-cron_scheduling_max_batch_size (default 10) [must be &gt; 0]
+    The maximum number of triggered cron jobs that can be processed in a batch.
+-cron_start_initial_backoff (default (5, secs))
+    Initial backoff delay while waiting for a previous cron run to be killed.
+-cron_start_max_backoff (default (1, mins))
+    Max backoff delay while waiting for a previous cron run to be killed.
+-cron_timezone (default GMT)
+    TimeZone to use for cron predictions.
+-custom_executor_config [file must exist, file must be readable]
+    Path to custom executor settings configuration file.
+-default_docker_parameters (default {})
+    Default docker parameters for any job that does not explicitly declare 
parameters.
+-dlog_max_entry_size (default (512, KB))
+    Specifies the maximum entry size to append to the log. Larger entries will 
be split across entry Frames.
+-dlog_shutdown_grace_period (default (2, secs))
+    Specifies the maximum time to wait for scheduled checkpoint and snapshot 
actions to complete before forcibly shutting down.
+-dlog_snapshot_interval (default (1, hrs))
+    Specifies the frequency at which snapshots of local storage are taken and 
written to the log.
+-enable_cors_for
+    List of domains for which CORS support should be enabled.
+-enable_mesos_fetcher (default false)
+    Allow jobs to pass URIs to the Mesos Fetcher. Note that enabling this 
feature could pose a privilege escalation threat.
+-enable_preemptor (default true)
+    Enable the preemptor and preemption
+-enable_revocable_cpus (default true)
+    Treat CPUs as a revocable resource.
+-enable_revocable_ram (default false)
+    Treat RAM as a revocable resource.
+-executor_user (default root)
+    User to start the executor. Defaults to "root". Set this to an 
unprivileged user if the mesos master was started with "--no-root_submissions". 
If set to anything other than "root", the executor will ignore the "role" 
setting for jobs since it can't use setuid() anymore. This means that all your 
jobs will run under the specified user and the user has to exist on the Mesos 
agents.
+-first_schedule_delay (default (1, ms))
+    Initial amount of time to wait before first attempting to schedule a 
PENDING task.
+-flapping_task_threshold (default (5, mins))
+    A task that repeatedly runs for less than this time is considered to be 
flapping.
+-framework_announce_principal (default false)
+    When 'framework_authentication_file' flag is set, the FrameworkInfo 
registered with the mesos master will also contain the principal. This is 
necessary if you intend to use mesos authorization via mesos ACLs. The default 
will change in a future release. Changing this value is backwards incompatible. 
For details, see MESOS-703.
+-framework_failover_timeout (default (21, days))
+    Time after which a framework is considered deleted.  SHOULD BE VERY HIGH.
+-framework_name (default Aurora)
+    Name used to register the Aurora framework with Mesos.
+-global_container_mounts (default [])
+    A comma separated list of mount points (in host:container form) to mount 
into all (non-mesos) containers.
+-history_max_per_job_threshold (default 100)
+    Maximum number of terminated tasks to retain in a job history.
+-history_min_retention_threshold (default (1, hrs))
+    Minimum guaranteed time for task history retention before any pruning is 
attempted.
+-history_prune_threshold (default (2, days))
+    Time after which the scheduler will prune terminated task history.
+-hostname
+    The hostname to advertise in ZooKeeper instead of the locally-resolved 
hostname.
+-http_authentication_mechanism (default NONE)
+    HTTP Authentication mechanism to use.
+-http_port (default 0)
+    The port to start an HTTP server on.  Default value will choose a random 
port.
+-initial_flapping_task_delay (default (30, secs))
+    Initial amount of time to wait before attempting to schedule a flapping 
task.
+-initial_schedule_penalty (default (1, secs))
+    Initial amount of time to wait before attempting to schedule a task that 
has failed to schedule.
+-initial_task_kill_retry_interval (default (5, secs))
+    When killing a task, retry after this delay if mesos has not responded, 
backing off up to transient_task_state_timeout
+-job_update_history_per_job_threshold (default 10)
+    Maximum number of completed job updates to retain in a job update history.
+-job_update_history_pruning_interval (default (15, mins))
+    Job update history pruning interval.
+-job_update_history_pruning_threshold (default (30, days))
+    Time after which the scheduler will prune completed job update history.
+-kerberos_debug (default false)
+    Produce additional Kerberos debugging output.
+-kerberos_server_keytab
+    Path to the server keytab.
+-kerberos_server_principal
+    Kerberos server principal to use, usually of the form 
HTTP/aurora.example....@example.com
+-max_flapping_task_delay (default (5, mins))
+    Maximum delay between attempts to schedule a flapping task.
+-max_leading_duration (default (1, days))
+    After leading for this duration, the scheduler should commit suicide.
+-max_registration_delay (default (1, mins))
+    Max allowable delay to allow the driver to register before aborting
+-max_reschedule_task_delay_on_startup (default (30, secs))
+    Upper bound of random delay for pending task rescheduling on scheduler 
startup.
+-max_saved_backups (default 48)
+    Maximum number of backups to retain before deleting the oldest backups.
+-max_schedule_attempts_per_sec (default 40.0)
+    Maximum number of scheduling attempts to make per second.
+-max_schedule_penalty (default (1, mins))
+    Maximum delay between attempts to schedule a PENDING tasks.
+-max_status_update_batch_size (default 1000) [must be &gt; 0]
+    The maximum number of status updates that can be processed in a batch.
+-max_task_event_batch_size (default 300) [must be &gt; 0]
+    The maximum number of task state change events that can be processed in a 
batch.
+-max_tasks_per_job (default 4000) [must be &gt; 0]
+    Maximum number of allowed tasks in a single job.
+-max_tasks_per_schedule_attempt (default 5) [must be &gt; 0]
+    The maximum number of tasks to pick in a single scheduling attempt.
+-max_update_instance_failures (default 20000) [must be &gt; 0]
+    Upper limit on the number of failures allowed during a job update. This 
helps cap potentially unbounded entries into storage.
+-min_offer_hold_time (default (5, mins))
+    Minimum amount of time to hold a resource offer before declining.
+-native_log_election_retries (default 20)
+    The maximum number of attempts to obtain a new log writer.
+-native_log_election_timeout (default (15, secs))
+    The timeout for a single attempt to obtain a new log writer.
+-native_log_file_path
+    Path to a file to store the native log data in.  If the parent directory 
doesnot exist it will be created.
+-native_log_quorum_size (default 1)
+    The size of the quorum required for all log mutations.
+-native_log_read_timeout (default (5, secs))
+    The timeout for doing log reads.
+-native_log_write_timeout (default (3, secs))
+    The timeout for doing log appends and truncations.
+-native_log_zk_group_path
+    A zookeeper node for use by the native log to track the master coordinator.
+-offer_filter_duration (default (5, secs))
+    Duration after which we expect Mesos to re-offer unused resources. A short 
duration improves scheduling performance in smaller clusters, but might lead to 
resource starvation for other frameworks if you run many frameworks in your 
cluster.
+-offer_hold_jitter_window (default (1, mins))
+    Maximum amount of random jitter to add to the offer hold time window.
+-offer_reservation_duration (default (3, mins))
+    Time to reserve a agent's offers while trying to satisfy a task preempting 
another.
+-offer_set_module (default [class 
org.apache.aurora.scheduler.offers.OfferSetModule])
+  Guice module for replacing offer holding and scheduling logic.
+-partition_aware (default false)
+  Whether or not to integrate with the partition-aware Mesos capabilities.
+-populate_discovery_info (default false)
+    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))
+    Time interval between pending task preemption slot searches.
+-receive_revocable_resources (default false)
+    Allows receiving revocable resource offers from Mesos.
+-reconciliation_explicit_batch_interval (default (5, secs))
+    Interval between explicit batch reconciliation requests.
+-reconciliation_explicit_batch_size (default 1000) [must be &gt; 0]
+    Number of tasks in a single batch request sent to Mesos for explicit 
reconciliation.
+-reconciliation_explicit_interval (default (60, mins))
+    Interval on which scheduler will ask Mesos for status updates of all 
non-terminal tasks known to scheduler.
+-reconciliation_implicit_interval (default (60, mins))
+    Interval on which scheduler will ask Mesos for status updates of all 
non-terminal tasks known to Mesos.
+-reconciliation_initial_delay (default (1, mins))
+    Initial amount of time to delay task reconciliation after scheduler start 
up.
+-reconciliation_schedule_spread (default (30, mins))
+    Difference between explicit and implicit reconciliation intervals intended 
to create a non-overlapping task reconciliation schedule.
+-require_docker_use_executor (default true)
+    If false, Docker tasks may run without an executor (EXPERIMENTAL)
+-scheduling_max_batch_size (default 3) [must be &gt; 0]
+    The maximum number of scheduling attempts that can be processed in a batch.
+-serverset_endpoint_name (default http)
+    Name of the scheduler endpoint published in ZooKeeper.
+-shiro_ini_path
+    Path to shiro.ini for authentication and authorization configuration.
+-shiro_realm_modules (default [class 
org.apache.aurora.scheduler.http.api.security.IniShiroRealmModule])
+    Guice modules for configuring Shiro Realms.
+-sla_non_prod_metrics (default [])
+    Metric categories collected for non production tasks.
+-sla_prod_metrics (default [JOB_UPTIMES, PLATFORM_UPTIME, MEDIANS])
+    Metric categories collected for production tasks.
+-sla_stat_refresh_interval (default (1, mins))
+    The SLA stat refresh interval.
+-stat_retention_period (default (1, hrs))
+    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.scheduling.TaskAssignerImplModule])
+  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
+    Extra arguments to be passed to the thermos executor
+-thermos_executor_ram (default (128, MB))
+    The amount of RAM to allocate for each instance of the executor.
+-thermos_executor_resources (default [])
+    A comma separated list of additional resources to copy into the 
sandbox.Note: if thermos_executor_path is not the thermos_executor.pex file 
itself, this must include it.
+-thermos_home_in_sandbox (default false)
+    If true, changes HOME to the sandbox before running the executor. This 
primarily has the effect of causing the executor and runner to extract 
themselves into the sandbox.
+-thrift_method_interceptor_modules (default [])
+    Additional Guice modules for intercepting Thrift method calls.
+-transient_task_state_timeout (default (5, mins))
+    The amount of time after which to treat a task stuck in a transient state 
as LOST.
+-viz_job_url_prefix (default )
+    URL prefix for job container stats.
+-zk_chroot_path
+    chroot path to use for the ZooKeeper connections
+-zk_digest_credentials
+    user:password to use when authenticating with ZooKeeper.
+-zk_in_proc (default false)
+    Launches an embedded zookeeper server for local testing causing 
-zk_endpoints to be ignored if specified.
+-zk_session_timeout (default (4, secs))
+    The ZooKeeper session timeout.
+-zk_use_curator (default true)
+    DEPRECATED: Uses Apache Curator as the zookeeper client; otherwise a copy 
of Twitter commons/zookeeper (the legacy library) is used.
+-------------------------------------------------------------------------
+</code></pre>
+
+</div>
+
+      </div>
+    </div>
+       <div class="container-fluid section-footer buffer">
+      <div class="container">
+        <div class="row">
+                 <div class="col-md-2 col-md-offset-1"><h3>Quick Links</h3>
+                 <ul>
+                   <li><a href="/downloads/">Downloads</a></li>
+            <li><a href="/community/">Mailing Lists</a></li>
+                       <li><a 
href="http://issues.apache.org/jira/browse/AURORA";>Issue Tracking</a></li>
+                       <li><a href="/documentation/latest/contributing/">How 
To Contribute</a></li>     
+                 </ul>
+             </div>
+                 <div class="col-md-2"><h3>The ASF</h3>
+          <ul>
+            <li><a href="http://www.apache.org/licenses/";>License</a></li>
+            <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>  
+            <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+            <li><a href="http://www.apache.org/security/";>Security</a></li>
+          </ul>
+                 </div>
+                 <div class="col-md-6">
+                       <p class="disclaimer">&copy; 2014-2017 <a 
href="http://www.apache.org/";>Apache Software Foundation</a>. Licensed under 
the <a href="http://www.apache.org/licenses/";>Apache License v2.0</a>. The <a 
href="https://www.flickr.com/photos/trondk/12706051375/";>Aurora Borealis IX 
photo</a> displayed on the homepage is available under a <a 
href="https://creativecommons.org/licenses/by-nc-nd/2.0/";>Creative Commons 
BY-NC-ND 2.0 license</a>. Apache, Apache Aurora, and the Apache feather logo 
are trademarks of The Apache Software Foundation.</p>
+        </div>
+      </div>
+    </div>
+
+  </body>
+</html>

Added: 
aurora/site/publish/documentation/0.20.0/reference/scheduler-endpoints/index.html
URL: 
http://svn.apache.org/viewvc/aurora/site/publish/documentation/0.20.0/reference/scheduler-endpoints/index.html?rev=1828294&view=auto
==============================================================================
--- 
aurora/site/publish/documentation/0.20.0/reference/scheduler-endpoints/index.html
 (added)
+++ 
aurora/site/publish/documentation/0.20.0/reference/scheduler-endpoints/index.html
 Tue Apr  3 23:54:44 2018
@@ -0,0 +1,172 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title>Apache Aurora</title>
+    <link rel="stylesheet" 
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css";>
+    <link href="/assets/css/main.css" rel="stylesheet">
+       <!-- Analytics -->
+       <script type="text/javascript">
+                 var _gaq = _gaq || [];
+                 _gaq.push(['_setAccount', 'UA-45879646-1']);
+                 _gaq.push(['_setDomainName', 'apache.org']);
+                 _gaq.push(['_trackPageview']);
+
+                 (function() {
+                   var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+                   ga.src = ('https:' == document.location.protocol ? 
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                   var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+                 })();
+       </script>
+  </head>
+  <body>
+    <div class="container-fluid section-header">
+  <div class="container">
+    <div class="nav nav-bar">
+    <a href="/"><img src="/assets/img/aurora_logo_dkbkg.svg" width="300" 
alt="Transparent Apache Aurora logo with dark background"/></a>
+    <ul class="nav navbar-nav navbar-right">
+      <li><a href="/documentation/latest/">Documentation</a></li>
+      <li><a href="/community/">Community</a></li>
+      <li><a href="/downloads/">Downloads</a></li>
+      <li><a href="/blog/">Blog</a></li>
+    </ul>
+    </div>
+  </div>
+</div>
+       
+    <div class="container-fluid">
+      <div class="container content">
+        <div class="col-md-12 documentation">
+<h5 class="page-header text-uppercase">Documentation
+<select onChange="window.location.href='/documentation/' + this.value + 
'/reference/scheduler-endpoints/'"
+        value="0.20.0">
+  <option value="0.20.0"
+    selected="selected">
+    0.20.0
+      (latest)
+  </option>
+  <option value="0.19.1"
+    >
+    0.19.1
+  </option>
+  <option value="0.19.0"
+    >
+    0.19.0
+  </option>
+  <option value="0.18.1"
+    >
+    0.18.1
+  </option>
+  <option value="0.18.0"
+    >
+    0.18.0
+  </option>
+  <option value="0.17.0"
+    >
+    0.17.0
+  </option>
+  <option value="0.16.0"
+    >
+    0.16.0
+  </option>
+  <option value="0.15.0"
+    >
+    0.15.0
+  </option>
+  <option value="0.14.0"
+    >
+    0.14.0
+  </option>
+  <option value="0.13.0"
+    >
+    0.13.0
+  </option>
+  <option value="0.12.0"
+    >
+    0.12.0
+  </option>
+  <option value="0.11.0"
+    >
+    0.11.0
+  </option>
+  <option value="0.10.0"
+    >
+    0.10.0
+  </option>
+  <option value="0.9.0"
+    >
+    0.9.0
+  </option>
+  <option value="0.8.0"
+    >
+    0.8.0
+  </option>
+  <option value="0.7.0-incubating"
+    >
+    0.7.0-incubating
+  </option>
+  <option value="0.6.0-incubating"
+    >
+    0.6.0-incubating
+  </option>
+  <option value="0.5.0-incubating"
+    >
+    0.5.0-incubating
+  </option>
+</select>
+</h5>
+<h1 id="http-endpoints">HTTP endpoints</h1>
+
+<p>There are a number of HTTP endpoints that the Aurora scheduler exposes. 
These allow various
+operational tasks to be performed on the scheduler. Below is an (incomplete) 
list of such endpoints
+and a brief explanation of what they do.</p>
+
+<h2 id="leader-health">Leader health</h2>
+
+<p>The /leaderhealth endpoint enables performing health checks on the 
scheduler instances inorder
+to forward requests to the leading scheduler. This is typically used by a load 
balancer such as
+HAProxy or AWS ELB.</p>
+
+<p>When a HTTP GET request is issued on this endpoint, it responds as 
follows:</p>
+
+<ul>
+<li>If the instance that received the GET request is the leading scheduler, a 
HTTP status code of
+<code>200 OK</code> is returned.</li>
+<li>If the instance that received the GET request is not the leading scheduler 
but a leader does
+exist, a HTTP status code of <code>503 SERVICE_UNAVAILABLE</code> is 
returned.</li>
+<li>If no leader currently exists or the leader is unknown, a HTTP status code 
of <code>502 BAD_GATEWAY</code>
+is returned.</li>
+</ul>
+
+</div>
+
+      </div>
+    </div>
+       <div class="container-fluid section-footer buffer">
+      <div class="container">
+        <div class="row">
+                 <div class="col-md-2 col-md-offset-1"><h3>Quick Links</h3>
+                 <ul>
+                   <li><a href="/downloads/">Downloads</a></li>
+            <li><a href="/community/">Mailing Lists</a></li>
+                       <li><a 
href="http://issues.apache.org/jira/browse/AURORA";>Issue Tracking</a></li>
+                       <li><a href="/documentation/latest/contributing/">How 
To Contribute</a></li>     
+                 </ul>
+             </div>
+                 <div class="col-md-2"><h3>The ASF</h3>
+          <ul>
+            <li><a href="http://www.apache.org/licenses/";>License</a></li>
+            <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>  
+            <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+            <li><a href="http://www.apache.org/security/";>Security</a></li>
+          </ul>
+                 </div>
+                 <div class="col-md-6">
+                       <p class="disclaimer">&copy; 2014-2017 <a 
href="http://www.apache.org/";>Apache Software Foundation</a>. Licensed under 
the <a href="http://www.apache.org/licenses/";>Apache License v2.0</a>. The <a 
href="https://www.flickr.com/photos/trondk/12706051375/";>Aurora Borealis IX 
photo</a> displayed on the homepage is available under a <a 
href="https://creativecommons.org/licenses/by-nc-nd/2.0/";>Creative Commons 
BY-NC-ND 2.0 license</a>. Apache, Apache Aurora, and the Apache feather logo 
are trademarks of The Apache Software Foundation.</p>
+        </div>
+      </div>
+    </div>
+
+  </body>
+</html>

Added: 
aurora/site/publish/documentation/0.20.0/reference/task-lifecycle/index.html
URL: 
http://svn.apache.org/viewvc/aurora/site/publish/documentation/0.20.0/reference/task-lifecycle/index.html?rev=1828294&view=auto
==============================================================================
--- 
aurora/site/publish/documentation/0.20.0/reference/task-lifecycle/index.html 
(added)
+++ 
aurora/site/publish/documentation/0.20.0/reference/task-lifecycle/index.html 
Tue Apr  3 23:54:44 2018
@@ -0,0 +1,324 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title>Apache Aurora</title>
+    <link rel="stylesheet" 
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css";>
+    <link href="/assets/css/main.css" rel="stylesheet">
+       <!-- Analytics -->
+       <script type="text/javascript">
+                 var _gaq = _gaq || [];
+                 _gaq.push(['_setAccount', 'UA-45879646-1']);
+                 _gaq.push(['_setDomainName', 'apache.org']);
+                 _gaq.push(['_trackPageview']);
+
+                 (function() {
+                   var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
+                   ga.src = ('https:' == document.location.protocol ? 
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                   var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
+                 })();
+       </script>
+  </head>
+  <body>
+    <div class="container-fluid section-header">
+  <div class="container">
+    <div class="nav nav-bar">
+    <a href="/"><img src="/assets/img/aurora_logo_dkbkg.svg" width="300" 
alt="Transparent Apache Aurora logo with dark background"/></a>
+    <ul class="nav navbar-nav navbar-right">
+      <li><a href="/documentation/latest/">Documentation</a></li>
+      <li><a href="/community/">Community</a></li>
+      <li><a href="/downloads/">Downloads</a></li>
+      <li><a href="/blog/">Blog</a></li>
+    </ul>
+    </div>
+  </div>
+</div>
+       
+    <div class="container-fluid">
+      <div class="container content">
+        <div class="col-md-12 documentation">
+<h5 class="page-header text-uppercase">Documentation
+<select onChange="window.location.href='/documentation/' + this.value + 
'/reference/task-lifecycle/'"
+        value="0.20.0">
+  <option value="0.20.0"
+    selected="selected">
+    0.20.0
+      (latest)
+  </option>
+  <option value="0.19.1"
+    >
+    0.19.1
+  </option>
+  <option value="0.19.0"
+    >
+    0.19.0
+  </option>
+  <option value="0.18.1"
+    >
+    0.18.1
+  </option>
+  <option value="0.18.0"
+    >
+    0.18.0
+  </option>
+  <option value="0.17.0"
+    >
+    0.17.0
+  </option>
+  <option value="0.16.0"
+    >
+    0.16.0
+  </option>
+  <option value="0.15.0"
+    >
+    0.15.0
+  </option>
+  <option value="0.14.0"
+    >
+    0.14.0
+  </option>
+  <option value="0.13.0"
+    >
+    0.13.0
+  </option>
+  <option value="0.12.0"
+    >
+    0.12.0
+  </option>
+  <option value="0.11.0"
+    >
+    0.11.0
+  </option>
+  <option value="0.10.0"
+    >
+    0.10.0
+  </option>
+  <option value="0.9.0"
+    >
+    0.9.0
+  </option>
+  <option value="0.8.0"
+    >
+    0.8.0
+  </option>
+  <option value="0.7.0-incubating"
+    >
+    0.7.0-incubating
+  </option>
+  <option value="0.6.0-incubating"
+    >
+    0.6.0-incubating
+  </option>
+  <option value="0.5.0-incubating"
+    >
+    0.5.0-incubating
+  </option>
+</select>
+</h5>
+<h1 id="task-lifecycle">Task Lifecycle</h1>
+
+<p>When Aurora reads a configuration file and finds a <code>Job</code> 
definition, it:</p>
+
+<ol>
+<li> Evaluates the <code>Job</code> definition.</li>
+<li> Splits the <code>Job</code> into its constituent <code>Task</code>s.</li>
+<li> Sends those <code>Task</code>s to the scheduler.</li>
+<li> The scheduler puts the <code>Task</code>s into <code>PENDING</code> 
state, starting each
+<code>Task</code>&rsquo;s life cycle.</li>
+</ol>
+
+<p><img alt="Life of a task" src="../../images/lifeofatask.png" /></p>
+
+<p>Please note, a couple of task states described below are missing from
+this state diagram.</p>
+
+<h2 id="pending-to-running-states">PENDING to RUNNING states</h2>
+
+<p>When a <code>Task</code> is in the <code>PENDING</code> state, the 
scheduler constantly
+searches for machines satisfying that <code>Task</code>&rsquo;s resource 
request
+requirements (RAM, disk space, CPU time) while maintaining configuration
+constraints such as &ldquo;a <code>Task</code> must run on machines  dedicated 
 to a
+particular role&rdquo; or attribute limit constraints such as &ldquo;at most 2
+<code>Task</code>s from the same <code>Job</code> may run on each rack&rdquo;. 
When the scheduler
+finds a suitable match, it assigns the <code>Task</code> to a machine and puts 
the
+<code>Task</code> into the <code>ASSIGNED</code> state.</p>
+
+<p>From the <code>ASSIGNED</code> state, the scheduler sends an RPC to the 
agent
+machine containing <code>Task</code> configuration, which the agent uses to 
spawn
+an executor responsible for the <code>Task</code>&rsquo;s lifecycle. When the 
scheduler
+receives an acknowledgment that the machine has accepted the <code>Task</code>,
+the <code>Task</code> goes into <code>STARTING</code> state.</p>
+
+<p><code>STARTING</code> state initializes a <code>Task</code> sandbox. When 
the sandbox is fully
+initialized, Thermos begins to invoke <code>Process</code>es. Also, the agent
+machine sends an update to the scheduler that the <code>Task</code> is
+in <code>RUNNING</code> state, only after the task satisfies the liveness 
requirements.
+See <a href="../features/services#health-checking">Health Checking</a> for 
more details
+for how to configure health checks.</p>
+
+<h2 id="running-to-terminal-states">RUNNING to terminal states</h2>
+
+<p>There are various ways that an active <code>Task</code> can transition into 
a terminal
+state. By definition, it can never leave this state. However, depending on
+nature of the termination and the originating <code>Job</code> definition
+(e.g. <code>service</code>, <code>max_task_failures</code>), a replacement 
<code>Task</code> might be
+scheduled.</p>
+
+<h3 id="natural-termination-finished-failed">Natural Termination: FINISHED, 
FAILED</h3>
+
+<p>A <code>RUNNING</code> <code>Task</code> can terminate without direct user 
interaction. For
+example, it may be a finite computation that finishes, even something as
+simple as <code>echo hello world.</code>, or it could be an exceptional 
condition in
+a long-lived service. If the <code>Task</code> is successful (its underlying
+processes have succeeded with exit status <code>0</code> or finished without
+reaching failure limits) it moves into <code>FINISHED</code> state. If it 
finished
+after reaching a set of failure limits, it goes into <code>FAILED</code> 
state.</p>
+
+<p>A terminated <code>TASK</code> which is subject to rescheduling will be 
temporarily
+<code>THROTTLED</code>, if it is considered to be flapping. A task is 
flapping, if its
+previous invocation was terminated after less than 5 minutes (scheduler
+default). The time penalty a task has to remain in the <code>THROTTLED</code> 
state,
+before it is eligible for rescheduling, increases with each consecutive
+failure.</p>
+
+<h3 id="forceful-termination-killing-restarting">Forceful Termination: 
KILLING, RESTARTING</h3>
+
+<p>You can terminate a <code>Task</code> by issuing an <code>aurora job 
kill</code> command, which
+moves it into <code>KILLING</code> state. The scheduler then sends the agent a
+request to terminate the <code>Task</code>. If the scheduler receives a 
successful
+response, it moves the Task into <code>KILLED</code> state and never restarts 
it.</p>
+
+<p>If a <code>Task</code> is forced into the <code>RESTARTING</code> state via 
the <code>aurora job restart</code>
+command, the scheduler kills the underlying task but in parallel schedules
+an identical replacement for it.</p>
+
+<p>In any case, the responsible executor on the agent follows an escalation
+sequence when killing a running task:</p>
+
+<ol>
+<li>If a <code>HttpLifecycleConfig</code> is not present, skip to (4).</li>
+<li>Send a POST to the <code>graceful_shutdown_endpoint</code> and wait
+<code>graceful_shutdown_wait_secs</code> seconds.</li>
+<li>Send a POST to the <code>shutdown_endpoint</code> and wait
+<code>shutdown_wait_secs</code> seconds.</li>
+<li>Send SIGTERM (<code>kill</code>) and wait at most 
<code>finalization_wait</code> seconds.</li>
+<li>Send SIGKILL (<code>kill -9</code>).</li>
+</ol>
+
+<p>If the executor notices that all <code>Process</code>es in a 
<code>Task</code> have aborted
+during this sequence, it will not proceed with subsequent steps.
+Note that graceful shutdown is best-effort, and due to the many
+inevitable realities of distributed systems, it may not be performed.</p>
+
+<h3 id="unexpected-termination-lost">Unexpected Termination: LOST</h3>
+
+<p>If a <code>Task</code> stays in a transient task state for too long (such 
as <code>ASSIGNED</code>
+or <code>STARTING</code>), the scheduler forces it into <code>LOST</code> 
state, creating a new
+<code>Task</code> in its place that&rsquo;s sent into <code>PENDING</code> 
state.</p>
+
+<p>In addition, if the Mesos core tells the scheduler that a agent has
+become unhealthy (or outright disappeared), the <code>Task</code>s assigned to 
that
+agent go into <code>LOST</code> state and new <code>Task</code>s are created 
in their place.
+From <code>PENDING</code> state, there is no guarantee a <code>Task</code> 
will be reassigned
+to the same machine unless job constraints explicitly force it there.</p>
+
+<h2 id="running-to-partitioned-states">RUNNING to PARTITIONED states</h2>
+
+<p>If Aurora is configured to enable partition awareness, a task which is in a
+running state can transition to <code>PARTITIONED</code>. This happens when 
the state
+of the task in Mesos becomes unknown. By default Aurora errs on the side of
+availability, so all tasks that transition to <code>PARTITIONED</code> are 
immediately
+transitioned to <code>LOST</code>.</p>
+
+<p>This policy is not ideal for all types of workloads you may wish to run in
+your Aurora cluster, e.g. for jobs where task failures are very expensive.
+So job owners may set their own <code>PartitionPolicy</code> where they can 
control
+how long to remain in <code>PARTITIONED</code> before transitioning to 
<code>LOST</code>. Or they
+can disable any automatic attempts to <code>reschedule</code> when in 
<code>PARTITIONED</code>,
+effectively waiting out the partition for as long as possible.</p>
+
+<h2 id="partitioned-and-transient-states">PARTITIONED and transient states</h2>
+
+<p>The <code>PartitionPolicy</code> provided by users only applies to tasks 
which are
+currently running. When tasks are moving in and out of transient states,
+e.g. tasks being updated, restarted, preempted, etc., <code>PARTITIONED</code> 
tasks
+are moved immediately to <code>LOST</code>. This prevents situations where 
system
+or user-initiated actions are blocked indefinitely waiting for partitions
+to resolve (that may never be resolved).</p>
+
+<h3 id="giving-priority-to-production-tasks-preempting">Giving Priority to 
Production Tasks: PREEMPTING</h3>
+
+<p>Sometimes a Task needs to be interrupted, such as when a non-production
+Task&rsquo;s resources are needed by a higher priority production Task. This
+type of interruption is called a <em>pre-emption</em>. When this happens in
+Aurora, the non-production Task is killed and moved into
+the <code>PREEMPTING</code> state  when both the following are true:</p>
+
+<ul>
+<li>The task being killed is a non-production task.</li>
+<li>The other task is a <code>PENDING</code> production task that hasn&rsquo;t 
been
+scheduled due to a lack of resources.</li>
+</ul>
+
+<p>The scheduler UI shows the non-production task was preempted in favor of
+the production task. At some point, tasks in <code>PREEMPTING</code> move to 
<code>KILLED</code>.</p>
+
+<p>Note that non-production tasks consuming many resources are likely to be
+preempted in favor of production tasks.</p>
+
+<h3 id="making-room-for-maintenance-draining">Making Room for Maintenance: 
DRAINING</h3>
+
+<p>Cluster operators can set agent into maintenance mode. This will transition
+all <code>Task</code> running on this agent into <code>DRAINING</code> and 
eventually to <code>KILLED</code>.
+Drained <code>Task</code>s will be restarted on other agents for which no 
maintenance
+has been announced yet.</p>
+
+<h2 id="state-reconciliation">State Reconciliation</h2>
+
+<p>Due to the many inevitable realities of distributed systems, there might
+be a mismatch of perceived and actual cluster state (e.g. a machine returns
+from a <code>netsplit</code> but the scheduler has already marked all its 
<code>Task</code>s as
+<code>LOST</code> and rescheduled them).</p>
+
+<p>Aurora regularly runs a state reconciliation process in order to detect
+and correct such issues (e.g. by killing the errant <code>RUNNING</code> 
tasks).
+By default, the proper detection of all failure scenarios and inconsistencies
+may take up to an hour.</p>
+
+<p>To emphasize this point: there is no uniqueness guarantee for a single
+instance of a job in the presence of network partitions. If the 
<code>Task</code>
+requires that, it should be baked in at the application level using a
+distributed coordination service such as Zookeeper.</p>
+
+</div>
+
+      </div>
+    </div>
+       <div class="container-fluid section-footer buffer">
+      <div class="container">
+        <div class="row">
+                 <div class="col-md-2 col-md-offset-1"><h3>Quick Links</h3>
+                 <ul>
+                   <li><a href="/downloads/">Downloads</a></li>
+            <li><a href="/community/">Mailing Lists</a></li>
+                       <li><a 
href="http://issues.apache.org/jira/browse/AURORA";>Issue Tracking</a></li>
+                       <li><a href="/documentation/latest/contributing/">How 
To Contribute</a></li>     
+                 </ul>
+             </div>
+                 <div class="col-md-2"><h3>The ASF</h3>
+          <ul>
+            <li><a href="http://www.apache.org/licenses/";>License</a></li>
+            <li><a 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>  
+            <li><a 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+            <li><a href="http://www.apache.org/security/";>Security</a></li>
+          </ul>
+                 </div>
+                 <div class="col-md-6">
+                       <p class="disclaimer">&copy; 2014-2017 <a 
href="http://www.apache.org/";>Apache Software Foundation</a>. Licensed under 
the <a href="http://www.apache.org/licenses/";>Apache License v2.0</a>. The <a 
href="https://www.flickr.com/photos/trondk/12706051375/";>Aurora Borealis IX 
photo</a> displayed on the homepage is available under a <a 
href="https://creativecommons.org/licenses/by-nc-nd/2.0/";>Creative Commons 
BY-NC-ND 2.0 license</a>. Apache, Apache Aurora, and the Apache feather logo 
are trademarks of The Apache Software Foundation.</p>
+        </div>
+      </div>
+    </div>
+
+  </body>
+</html>

Added: aurora/site/source/blog/2018-02-11-aurora-0-19-1-released.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/blog/2018-02-11-aurora-0-19-1-released.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/blog/2018-02-11-aurora-0-19-1-released.md (added)
+++ aurora/site/source/blog/2018-02-11-aurora-0-19-1-released.md Tue Apr  3 
23:54:44 2018
@@ -0,0 +1,22 @@
+---
+layout: post
+title: 0.19.1 Released
+permalink: /blog/aurora-0-19-1-released/
+published: true
+post_author:
+  display_name: Renan DelValle
+tags: Release
+---
+
+The latest Apache Aurora release, 0.19.1, is now available for
+[download](http://aurora.apache.org/downloads/). Here are some highlights in 
this release:
+
+
+Full release notes are available in the release
+[CHANGELOG](https://git-wip-us.apache.org/repos/asf?p=aurora.git&f=CHANGELOG&hb=rel/0.19.1).
+
+
+
+
+
+

Added: aurora/site/source/blog/2018-04-03-aurora-0-20-0-released.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/blog/2018-04-03-aurora-0-20-0-released.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/blog/2018-04-03-aurora-0-20-0-released.md (added)
+++ aurora/site/source/blog/2018-04-03-aurora-0-20-0-released.md Tue Apr  3 
23:54:44 2018
@@ -0,0 +1,63 @@
+---
+layout: post
+title: 0.20.0 Released
+permalink: /blog/aurora-0-20-0-released/
+published: true
+post_author:
+  display_name: Renan DelValle
+tags: Release
+---
+
+The latest Apache Aurora release, 0.20.0, is now available for
+[download](http://aurora.apache.org/downloads/). Here are some highlights in 
this release:
+
+- Updated to Mesos 1.4.0.
+- Added experimental support for the Mesos partition-aware APIs. The key idea 
is a new ScheduleStatus
+  PARTITIONED that represents a task in an unknown state. Users of Aurora can 
have per-job policies
+  of whether or not to reschedule and how long to wait for the partition to 
heal. Backwards
+  compatibility with existing behavior (i.e. transition to LOST immediately on 
a partition) is
+  maintained. The support is experimental due to bugs found in Mesos that 
would cause issues in
+  a production cluster. For that reason, the functionality is behind a new 
flag `-partition_aware`
+  that is disabled by default. When Mesos support is improved and the new 
behavior is vetted in
+  production clusters, we'll enable this by default.
+- Added the ability to inject custom offer holding and scheduling logic via 
the `-offer_set_module`
+  scheduler flag. To take advantage of this feature, you will need to 
implement the `OfferSet`
+  interface.
+- Added `executor_config` field to the Job object of the DSL which will 
populate
+  `JobConfiguration.TaskConfig.ExecutorConfig`. This allows for using custom 
executors defined
+  through the `--custom_executor_config` scheduler flag. See our
+  [custom-executors](docs/features/custom-executors.md) documentation for more 
information.
+- Added support in Thermos Observer for delegating disk usage monitoring to 
Mesos agent. The feature
+  can be enabled via `--enable_mesos_disk_collector` flag, in which case 
Observer will use the
+  agent's containers HTTP API to query the amount of used bytes for each 
container. Note that disk
+  isolation should be enabled in Mesos agent. This feature is not compatible 
with authentication
+  enabled agents.
+
+Deprecations and removals:
+
+- Removed the ability to recover from SQL-based backups and snapshots.  An 
0.20.0 scheduler
+  will not be able to recover backups or replicated log data created prior to 
0.19.0.
+- Removed task level resource fields (`numCpus`, `ramMb`, `diskMb`, 
`requestedPorts`).
+- Removed the `-offer_order_modules` scheduler flag related to custom 
injectable offer orderings,
+  since this will now be subsumed under custom `OfferSet` implementations (see 
the comment above):
+
+Full release notes are available in the release
+[CHANGELOG](https://git-wip-us.apache.org/repos/asf?p=aurora.git&f=CHANGELOG&hb=rel/0.20.0).
+
+## Thanks
+
+Thanks to the 14 contributors who made Apache Aurora 0.20.0 possible:
+
+* Bill Farner
+* David McLaughlin
+* Nicolás Donatucci
+* Stephan Erb
+* David McLaughlin
+* Jing Chen
+* Renan DelValle
+* John Sirois
+* Ruben D. Porras
+* Franck Cuny
+* Reza Motamedi
+* Jordan Ly
+

Added: 
aurora/site/source/documentation/0.19.1/additional-resources/presentations.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/additional-resources/presentations.md?rev=1828294&view=auto
==============================================================================
--- 
aurora/site/source/documentation/0.19.1/additional-resources/presentations.md 
(added)
+++ 
aurora/site/source/documentation/0.19.1/additional-resources/presentations.md 
Tue Apr  3 23:54:44 2018
@@ -0,0 +1,80 @@
+# Apache Aurora Presentations
+Video and slides from presentations and panel discussions about Apache Aurora.
+
+_(Listed in date descending order)_
+
+<table>
+
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/10_08_2015_mesos_aurora_on_a_small_scale_thumb.png"
 alt="Mesos and Aurora on a Small Scale Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=q5iIqhaCJ_o";>Mesos &amp; Aurora on a 
Small Scale (Video)</a></strong>
+               <p>Presented by Florian Pfeiffer</p>
+               <p>October 8, 2015 at <a 
href="http://events.linuxfoundation.org/events/archive/2015/mesoscon-europe";>#MesosCon
 Europe 2015</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/10_08_2015_sla_aware_maintenance_for_operators_thumb.png"
 alt="SLA Aware Maintenance for Operators Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=tZ0-SISvCis";>SLA Aware Maintenance for 
Operators (Video)</a></strong>
+               <p>Presented by Joe Smith</p>
+               <p>October 8, 2015 at <a 
href="http://events.linuxfoundation.org/events/archive/2015/mesoscon-europe";>#MesosCon
 Europe 2015</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/09_20_2015_shipping_code_with_aurora_thumb.png"
 alt="Shipping Code with Aurora Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=y1hi7K1lPkk";>Shipping Code with Aurora 
(Video)</a></strong>
+               <p>Presented by Bill Farner</p>
+               <p>August 20, 2015 at <a 
href="http://events.linuxfoundation.org/events/archive/2015/mesoscon";>#MesosCon 
2015</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/09_20_2015_twitter_production_scale_thumb.png"
 alt="Twitter Production Scale Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=nNrh-gdu9m4";>Twitter’s Production 
Scale: Mesos and Aurora Operations (Video)</a></strong>
+               <p>Presented by Joe Smith</p>
+               <p>August 20, 2015 at <a 
href="http://events.linuxfoundation.org/events/archive/2015/mesoscon";>#MesosCon 
2015</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/04_30_2015_monolith_to_microservices_thumb.png"
 alt="From Monolith to Microservices with Aurora Video Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=yXkOgnyK4Hw";>>From Monolith to 
Microservices w/ Aurora (Video)</a></strong>
+               <p>Presented by Thanos Baskous, Tony Dong, Dobromir Montauk</p>
+               <p>April 30, 2015 at <a 
href="http://www.meetup.com/Bay-Area-Apache-Aurora-Users-Group/events/221219480/";>Bay
 Area Apache Aurora Users Group</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/03_07_2015_aurora_mesos_in_practice_at_twitter_thumb.png"
 alt="Aurora + Mesos in Practice at Twitter Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=1XYJGX_qZVU";>Aurora + Mesos in Practice 
at Twitter (Video)</a></strong>
+               <p>Presented by Bill Farner</p>
+               <p>March 07, 2015 at <a 
href="http://www.bigeng.io/aurora-mesos-in-practice-at-twitter";>Bigcommerce 
TechTalk</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/02_28_2015_apache_aurora_thumb.png"
 alt="Apache Auroraの始めかた Slideshow Thumbnail" /></td>
+               <td><strong><a 
href="http://www.slideshare.net/zembutsu/apache-aurora-introduction-and-tutorial-osc15tk";>Apache
 Auroraの始めかた (Slides)</a></strong>
+               <p>Presented by Masahito Zembutsu</p>
+               <p>February 28, 2015 at <a 
href="http://www.ospn.jp/osc2015-spring/";>Open Source Conference 2015 Tokyo 
Spring</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/02_19_2015_aurora_adopters_panel_thumb.png"
 alt="Apache Aurora Adopters Panel Video Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=2Jsj0zFdRlg";>Apache Aurora Adopters Panel 
(Video)</a></strong>
+               <p>Panelists Ben Staffin, Josh Adams, Bill Farner, Berk 
Demir</p>
+               <p>February 19, 2015 at <a 
href="http://www.meetup.com/Bay-Area-Mesos-User-Group/events/220279080/";>Bay 
Area Mesos Users Group</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/02_19_2015_aurora_at_twitter_thumb.png"
 alt="Operating Apache Aurora and Mesos at Twitter Video Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=E4lxX6epM_U";>Operating Apache Aurora and 
Mesos at Twitter (Video)</a></strong>
+               <p>Presented by Joe Smith</p>
+               <p>February 19, 2015 at <a 
href="http://www.meetup.com/Bay-Area-Mesos-User-Group/events/220279080/";>Bay 
Area Mesos Users Group</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/02_19_2015_aurora_at_tellapart_thumb.png"
 alt="Apache Aurora and Mesos at TellApart" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=ZZXtXLvTXAE";>Apache Aurora and Mesos at 
TellApart (Video)</a></strong>
+               <p>Presented by Steve Niemitz</p>
+               <p>February 19, 2015 at <a 
href="http://www.meetup.com/Bay-Area-Mesos-User-Group/events/220279080/";>Bay 
Area Mesos Users Group</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/08_21_2014_past_present_future_thumb.png"
 alt="Past, Present, and Future of the Aurora Scheduler Video Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=Dsc5CPhKs4o";>Past, Present, and Future of 
the Aurora Scheduler (Video)</a></strong>
+               <p>Presented by Bill Farner</p>
+               <p>August 21, 2014 at <a 
href="http://events.linuxfoundation.org/events/archive/2014/mesoscon";>#MesosCon 
2014</a></p></td>
+       </tr>
+       <tr>
+               <td><img 
src="/documentation/0.19.1/images/presentations/03_25_2014_introduction_to_aurora_thumb.png"
 alt="Introduction to Apache Aurora Video Thumbnail" /></td>
+               <td><strong><a 
href="https://www.youtube.com/watch?v=asd_h6VzaJc";>Introduction to Apache 
Aurora (Video)</a></strong>
+               <p>Presented by Bill Farner</p>
+               <p>March 25, 2014 at <a 
href="https://www.eventbrite.com/e/aurora-and-mesosframeworksmeetup-tickets-10850994617";>Aurora
 and Mesos Frameworks Meetup</a></p></td>
+       </tr>
+</table>

Added: aurora/site/source/documentation/0.19.1/additional-resources/tools.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/additional-resources/tools.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/additional-resources/tools.md 
(added)
+++ aurora/site/source/documentation/0.19.1/additional-resources/tools.md Tue 
Apr  3 23:54:44 2018
@@ -0,0 +1,24 @@
+# Tools
+
+Various tools integrate with Aurora. Is there a tool missing? Let us know, or 
submit a patch to add it!
+
+* Load-balancing technology used to direct traffic to services running on 
Aurora:
+  - [synapse](https://github.com/airbnb/synapse) based on HAProxy
+  - [aurproxy](https://github.com/tellapart/aurproxy) based on nginx
+  - [jobhopper](https://github.com/benley/aurora-jobhopper) performs HTTP 
redirects for easy developer and administrator access
+
+* RPC libraries that integrate with the Aurora's [service discovery 
mechanism](../../features/service-discovery/):
+  - [linkerd](https://linkerd.io/) RPC proxy
+  - [finagle](https://twitter.github.io/finagle) (Scala)
+  - [scales](https://github.com/steveniemitz/scales) (Python)
+
+* Monitoring:
+  - [collectd-aurora](https://github.com/zircote/collectd-aurora) for cluster 
monitoring using collectd
+  - [Prometheus Aurora 
exporter](https://github.com/tommyulfsparre/aurora_exporter) for cluster 
monitoring using Prometheus
+  - [Prometheus service discovery 
integration](http://prometheus.io/docs/operating/configuration/#zookeeper-serverset-sd-configurations-serverset_sd_config)
 for discovering and monitoring services running on Aurora
+
+* Packaging and deployment:
+  - [aurora-packaging](https://github.com/apache/aurora-packaging), the source 
of the official Aurora packages
+
+* Thrift Clients:
+  - [gorealis](https://github.com/rdelval/gorealis) for communicating with the 
scheduler using Go

Added: aurora/site/source/documentation/0.19.1/contributing.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/contributing.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/contributing.md (added)
+++ aurora/site/source/documentation/0.19.1/contributing.md Tue Apr  3 23:54:44 
2018
@@ -0,0 +1,93 @@
+## Get the Source Code
+
+First things first, you'll need the source! The Aurora source is available 
from Apache git:
+
+    git clone https://git-wip-us.apache.org/repos/asf/aurora
+
+Read the Style Guides
+---------------------
+Aurora's codebase is primarily Java and Python and conforms to the Twitter 
Commons styleguides for
+both languages.
+
+- [Java Style 
Guide](https://github.com/twitter/commons/blob/master/src/java/com/twitter/common/styleguide.md)
+- [Python Style 
Guide](https://github.com/twitter/commons/blob/master/src/python/twitter/common/styleguide.md)
+
+## Find Something to Do
+
+There are issues in [Jira](https://issues.apache.org/jira/browse/AURORA) with 
the
+["newbie" 
label](https://issues.apache.org/jira/issues/?jql=project%20%3D%20AURORA%20AND%20labels%20%3D%20newbie%20and%20resolution%3Dunresolved)
+that are good starting places for new Aurora contributors; pick one of these 
and dive in! To assign
+a task to yourself, first ask for your JIRA id to be whitelisted by either 
asking in IRC/Slack or by
+emailing d...@apache.aurora.org. Once your JIRA account has been whitelisted 
you can assign tickets
+to yourself. The next step is to prepare your patch and finally post it for 
review.
+
+## Getting your ReviewBoard Account
+
+Go to https://reviews.apache.org and create an account.
+
+## Setting up your ReviewBoard Environment
+
+Run `./rbt status`. The first time this runs it will bootstrap and you will be 
asked to login.
+Subsequent runs will cache your login credentials.
+
+## Submitting a Patch for Review
+
+Post a review with `rbt`, fill out the fields in your browser and hit Publish.
+
+    ./rbt post -o
+
+If you're unsure about who to add as a reviewer, you can default to adding 
Zameer Manji (zmanji) and
+Joshua Cohen (jcohen). They will take care of finding an appropriate reviewer 
for the patch.
+
+Once you've done this, you probably want to mark the associated Jira issue as 
Reviewable.
+
+## Updating an Existing Review
+
+Incorporate review feedback, make some more commits, update your existing 
review, fill out the
+fields in your browser and hit Publish.
+
+    ./rbt post -o -r <RB_ID>
+
+## Getting Your Review Merged
+
+If you're not an Aurora committer, one of the committers will merge your 
change in as described
+below. Generally, the last reviewer to give the review a 'Ship It!' will be 
responsible.
+
+### Merging Your Own Review (Committers)
+
+Once you have shipits from the right committers, merge your changes in a 
single commit and mark
+the review as submitted. The typical workflow is:
+
+    git checkout master
+    git pull origin master
+    ./rbt patch -c <RB_ID>  # Verify the automatically-generated commit 
message looks sane,
+                            # editing if necessary.
+    git show master         # Verify everything looks sane
+    git push origin master
+    ./rbt close <RB_ID>
+
+Note that even if you're developing using feature branches you will not use 
`git merge` - each
+commit will be an atomic change accompanied by a ReviewBoard entry.
+
+### Merging Someone Else's Review
+
+Sometimes you'll need to merge someone else's RB. The typical workflow for 
this is
+
+    git checkout master
+    git pull origin master
+    ./rbt patch -c <RB_ID>
+    git show master  # Verify everything looks sane, author is correct
+    git push origin master
+
+Note for committers: while we generally use the commit message generated by 
`./rbt patch` some
+changes are often required:
+
+1. Ensure the the commit message does not exceed 100 characters per line.
+2. Remove the "Testing Done" section. It's generally redundant (can be seen by 
checking the linked
+  review) or entirely irrelevant to the commit itself.
+
+## Cleaning Up
+
+Your patch has landed, congratulations! The last thing you'll want to do 
before moving on to your
+next fix is to clean up your Jira and Reviewboard. The former of which should 
be marked as
+"Resolved" while the latter should be marked as "Submitted".

Added: aurora/site/source/documentation/0.19.1/development/client.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/development/client.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/development/client.md (added)
+++ aurora/site/source/documentation/0.19.1/development/client.md Tue Apr  3 
23:54:44 2018
@@ -0,0 +1,148 @@
+Developing the Aurora Client
+============================
+
+The client is written in Python, and uses the
+[Pants](http://pantsbuild.github.io/python-readme.html) build tool.
+
+
+Building and Testing
+--------------------
+
+Building and testing the client code are both done using Pants. The relevant 
targets to know about
+are:
+
+   * Build a client executable: `./pants binary 
src/main/python/apache/aurora/client:aurora`
+   * Test client code: `./pants test 
src/test/python/apache/aurora/client/cli:cli`
+
+If you want to build a source distribution of the client, you need to run 
`./build-support/release/make-python-sdists`.
+
+
+Creating Custom Builds
+----------------------
+
+There are situations where you may want to plug in custom logic to the Client 
that may not be
+applicable to the open source codebase. Rather than create a whole CLI from 
scratch, you can
+easily create your own custom, drop-in replacement aurora.pex using the pants 
build tool.
+
+First, create an AuroraCommandLine implementation as an entry-point for 
registering customizations:
+
+    from apache.aurora.client.cli.client import AuroraCommandLine
+
+    class CustomAuroraCommandLine(AuroraCommandLine):
+    """Custom AuroraCommandLine for your needs"""
+
+    @property
+    def name(self):
+      return "your-company-aurora"
+
+    @classmethod
+    def get_description(cls):
+      return 'Your Company internal Aurora client command line'
+
+    def __init__(self):
+      super(CustomAuroraCommandLine, self).__init__()
+      # Add custom plugins..
+      self.register_plugin(YourCustomPlugin())
+
+    def register_nouns(self):
+      super(CustomAuroraCommandLine, self).register_nouns()
+      # You can even add new commands / sub-commands!
+      self.register_noun(YourStartUpdateProxy())
+      self.register_noun(YourDeployWorkflowCommand())
+
+Secondly, create a main entry point:
+
+    def proxy_main():
+      client = CustomAuroraCommandLine()
+      if len(sys.argv) == 1:
+        sys.argv.append("-h")
+      sys.exit(client.execute(sys.argv[1:]))
+
+Finally, you can wire everything up with a pants BUILD file in your project 
directory:
+
+    python_binary(
+      name='aurora',
+      entry_point='your_company.aurora.client:proxy_main',
+      dependencies=[
+        ':client_lib'
+      ]
+    )
+
+    python_library(
+      name='client_lib',
+      sources = [
+        'client.py',
+        'custom_plugin.py',
+        'custom_command.py',
+      ],
+      dependencies = [
+        # The Apache Aurora client
+        # Any other dependencies for your custom code
+      ],
+    )
+
+Using the same commands to build the client as above (but obviously pointing 
to this BUILD file
+instead), you will have a drop-in replacement aurora.pex file with your 
customizations.
+
+Running/Debugging
+------------------
+
+For manually testing client changes against a cluster, we use 
[Vagrant](https://www.vagrantup.com/).
+To start a virtual cluster, you need to install Vagrant, and then run `vagrant 
up` for the root of
+the aurora workspace. This will create a vagrant host named "devcluster", with 
a Mesos master, a set
+of Mesos agents, and an Aurora scheduler.
+
+If you have a change you would like to test in your local cluster, you'll 
rebuild the client:
+
+    vagrant ssh -c 'aurorabuild client'
+
+Once this completes, the `aurora` command will reflect your changes.
+
+
+Running/Debugging in PyCharm
+-----------------------------
+
+It's possible to use PyCharm to run and debug both the client and client tests 
in an IDE. In order
+to do this, first run:
+
+    build-support/python/make-pycharm-virtualenv
+
+This script will configure a virtualenv with all of our Python requirements. 
Once the script
+completes it will emit instructions for configuring PyCharm:
+
+    Your PyCharm environment is now set up.  You can open the project root
+    directory with PyCharm.
+
+    Once the project is loaded:
+      - open project settings
+      - click 'Project Interpreter'
+      - click the cog in the upper-right corner
+      - click 'Add Local'
+      - select 'build-support/python/pycharm.venv/bin/python'
+      - click 'OK'
+
+### Running/Debugging Tests
+After following these instructions, you should now be able to run/debug tests 
directly from the IDE
+by right-clicking on a test (or test class) and choosing to run or debug:
+
+[![Debug Client 
Test](../images/debug-client-test.png)](../images/debug-client-test.png)
+
+If you've set a breakpoint, you can see the run will now stop and let you 
debug:
+
+[![Debugging Client 
Test](../images/debugging-client-test.png)](../images/debugging-client-test.png)
+
+### Running/Debugging the Client
+Actually running and debugging the client is unfortunately a bit more complex. 
You'll need to create
+a Run configuration:
+
+* Go to Run → Edit Configurations
+* Click the + icon to add a new configuration.
+* Choose python and name the configuration 'client'.
+* Set the script path to 
`/your/path/to/aurora/src/main/python/apache/aurora/client/cli/client.py`
+* Set the script parameters to the command you want to run (e.g. `job status 
<job key>`)
+* Expand the Environment section and click the ellipsis to add a new 
environment variable
+* Click the + at the bottom to add a new variable named AURORA_CONFIG_ROOT 
whose value is the
+  path where the your cluster configuration can be found. For example, to talk 
to the scheduler
+  running in the vagrant image, it would be set to 
`/your/path/to/aurora/examples/vagrant` (this
+  is the directory where our example clusters.json is found).
+* You should now be able to run and debug this configuration!

Added: aurora/site/source/documentation/0.19.1/development/committers-guide.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/development/committers-guide.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/development/committers-guide.md 
(added)
+++ aurora/site/source/documentation/0.19.1/development/committers-guide.md Tue 
Apr  3 23:54:44 2018
@@ -0,0 +1,105 @@
+Committer's Guide
+=================
+
+Information for official Apache Aurora committers.
+
+Setting up your email account
+-----------------------------
+Once your Apache ID has been set up you can configure your account and add ssh 
keys and setup an
+email forwarding address at
+
+    http://id.apache.org
+
+Additional instructions for setting up your new committer email can be found at
+
+    http://www.apache.org/dev/user-email.html
+
+The recommended setup is to configure all services (mailing lists, JIRA, 
ReviewBoard) to send
+emails to your @apache.org email address.
+
+
+Creating a gpg key for releases
+-------------------------------
+In order to create a release candidate you will need a gpg key published to an 
external key server
+and that key will need to be added to our KEYS file as well.
+
+1. Create a key:
+
+               gpg --gen-key
+
+2. Add your gpg key to the Apache Aurora KEYS file:
+
+               git clone https://git-wip-us.apache.org/repos/asf/aurora.git
+               (gpg --list-sigs <KEY ID> && gpg --armor --export <KEY ID>) >> 
KEYS
+               git add KEYS && git commit -m "Adding gpg key for <APACHE ID>"
+               ./rbt post -o -g
+
+3. Publish the key to an external key server:
+
+               gpg --keyserver pgp.mit.edu --send-keys <KEY ID>
+
+4. Update the changes to the KEYS file to the Apache Aurora svn dist locations 
listed below:
+
+               https://dist.apache.org/repos/dist/dev/aurora/KEYS
+               https://dist.apache.org/repos/dist/release/aurora/KEYS
+
+5. Add your key to git config for use with the release scripts:
+
+               git config --global user.signingkey <KEY ID>
+
+
+Creating a release
+------------------
+The following will guide you through the steps to create a release candidate, 
vote, and finally an
+official Apache Aurora release. Before starting your gpg key should be in the 
KEYS file and you
+must have access to commit to the dist.a.o repositories.
+
+1. Ensure that all issues resolved for this release candidate are tagged with 
the correct Fix
+Version in JIRA, the changelog script will use this to generate the CHANGELOG 
in step #2.
+To assign the fix version:
+
+    * Look up the [previous release 
date](https://issues.apache.org/jira/browse/aurora/?selectedTab=com.atlassian.jira.jira-projects-plugin:versions-panel).
+    * Query all issues resolved after that release date: `project = AURORA AND 
status in (resolved, Closed) and fixVersion is empty and resolutiondate >= 
"YYYY/MM/DD"`
+    * In the upper right corner of the query result, select Tools > Bulk Edit.
+    * Select all issues > edit issue > set 'Change Fix Version/s' to the 
release version.
+    * Make sure to uncheck 'Send mail for this update' at the bottom.
+
+2. Prepare RELEASE-NOTES.md for the release. This just boils down to removing 
the "(Not yet
+released)" suffix from the impending release.
+
+2. Create a release candidate. This will automatically update the CHANGELOG 
and commit it, create a
+branch and update the current version within the trunk. To create a minor 
version update and publish
+it run
+
+               ./build-support/release/release-candidate -l m -p
+
+3. Update, if necessary, the draft email created from the `release-candidate` 
script in step #2 and
+send the [VOTE] email to the dev@ mailing list. You can verify the release 
signature and checksums
+by running
+
+               ./build-support/release/verify-release-candidate
+
+4. Wait for the vote to complete. If the vote fails close the vote by replying 
to the initial [VOTE]
+email sent in step #3 by editing the subject to [RESULT][VOTE] ... and noting 
the failure reason
+(example [here](http://markmail.org/message/d4d6xtvj7vgwi76f)). You'll also 
need to manually revert
+the commits generated by the release candidate script that incremented the 
snapshot version and
+updated the changelog. Once that is done, now address any issues and go back 
to step #1 and run
+again, this time you will use the -r flag to increment the release candidate 
version. This will
+automatically clean up the release candidate rc0 branch and source 
distribution.
+
+               ./build-support/release/release-candidate -l m -r 1 -p
+
+5. Once the vote has successfully passed create the release
+
+**IMPORTANT: make sure to use the correct release at this final step (e.g.: 
`-r 1` if rc1 candidate
+has been voted for). Once the release tag is pushed it will be very hard to 
undo due to remote
+git pre-receive hook explicitly forbidding release tag manipulations.**
+
+               ./build-support/release/release
+
+6. Update the draft email created fom the `release` script in step #5 to 
include the Apache ID's for
+all binding votes and send the [RESULT][VOTE] email to the dev@ mailing list.
+
+7. Update the [Aurora Website](http://aurora.apache.org/) by following the
+[instructions](https://svn.apache.org/repos/asf/aurora/site/README.md) on the 
ASF Aurora SVN repo.
+Remember to add a blog post under source/blog and regenerate the site before 
committing.

Added: aurora/site/source/documentation/0.19.1/development/db-migration.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/development/db-migration.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/development/db-migration.md (added)
+++ aurora/site/source/documentation/0.19.1/development/db-migration.md Tue Apr 
 3 23:54:44 2018
@@ -0,0 +1,34 @@
+DB Migrations
+=============
+
+Changes to the DB schema should be made in the form of migrations. This 
ensures that all changes
+are applied correctly after a DB dump from a previous version is restored.
+
+DB migrations are managed through a system built on top of
+[MyBatis Migrations](http://www.mybatis.org/migrations/). The migrations are 
run automatically when
+a snapshot is restored, no manual interaction is required by cluster operators.
+
+Upgrades
+--------
+When adding or altering tables or changing data, in addition to making to 
change in
+[schema.sql](../../src/main/resources/org/apache/aurora/scheduler/storage/db/schema.sql),
 a new
+migration class should be created under the 
org.apache.aurora.scheduler.storage.db.migration
+package. The class should implement the 
[MigrationScript](https://github.com/mybatis/migrations/blob/master/src/main/java/org/apache/ibatis/migration/MigrationScript.java)
+interface (see 
[V001_TestMigration](https://github.com/apache/aurora/blob/rel/0.19.1/src/test/java/org/apache/aurora/scheduler/storage/db/testmigration/V001_TestMigration.java)
+as an example). The upgrade and downgrade scripts are defined in this class. 
When restoring a
+snapshot the list of migrations on the classpath is compared to the list of 
applied changes in the
+DB. Any changes that have not yet been applied are executed and their 
downgrade script is stored
+alongside the changelog entry in the database to faciliate downgrades in the 
event of a rollback.
+
+Downgrades
+----------
+If, while running migrations, a rollback is detected, i.e. a change exists in 
the DB changelog that
+does not exist on the classpath, the downgrade script associated with each 
affected change is
+applied.
+
+Baselines
+---------
+After enough time has passed (at least 1 official release), it should be safe 
to baseline migrations
+if desired. This can be accomplished by ensuring the changes from migrations 
have been applied to
+[schema.sql](../../src/main/resources/org/apache/aurora/scheduler/storage/db/schema.sql)
 and then
+removing the corresponding migration classes and adding a migration to remove 
the changelog entries.
\ No newline at end of file

Added: aurora/site/source/documentation/0.19.1/development/design-documents.md
URL: 
http://svn.apache.org/viewvc/aurora/site/source/documentation/0.19.1/development/design-documents.md?rev=1828294&view=auto
==============================================================================
--- aurora/site/source/documentation/0.19.1/development/design-documents.md 
(added)
+++ aurora/site/source/documentation/0.19.1/development/design-documents.md Tue 
Apr  3 23:54:44 2018
@@ -0,0 +1,23 @@
+Design Documents
+================
+
+Since its inception as an Apache project, larger feature additions to the
+Aurora code base are discussed in form of design documents. Design documents
+are living documents until a consensus has been reached to implement a feature
+in the proposed form.
+
+Current and past documents:
+
+* [Command Hooks for the Aurora Client](../design/command-hooks/)
+* [Dynamic 
Reservations](https://docs.google.com/document/d/19gV8Po6DIHO14tOC7Qouk8RnboY8UCfRTninwn_5-7c/edit)
+* [GPU Resources in 
Aurora](https://docs.google.com/document/d/1J9SIswRMpVKQpnlvJAMAJtKfPP7ZARFknuyXl-2aZ-M/edit)
+* [Health Checks for 
Updates](https://docs.google.com/document/d/1KOO0LC046k75TqQqJ4c0FQcVGbxvrn71E10wAjMorVY/edit)
+* [JobUpdateDiff thrift 
API](https://docs.google.com/document/d/1Fc_YhhV7fc4D9Xv6gJzpfooxbK4YWZcvzw6Bd3qVTL8/edit)
+* [REST API 
RFC](https://docs.google.com/document/d/11_lAsYIRlD5ETRzF2eSd3oa8LXAHYFD8rSetspYXaf4/edit)
+* [Revocable Mesos offers in 
Aurora](https://docs.google.com/document/d/1r1WCHgmPJp5wbrqSZLsgtxPNj3sULfHrSFmxp2GyPTo/edit)
+* [Supporting the Mesos Universal 
Containerizer](https://docs.google.com/document/d/111T09NBF2zjjl7HE95xglsDpRdKoZqhCRM5hHmOfTLA/edit?usp=sharing)
+* [Tier Management In Apache 
Aurora](https://docs.google.com/document/d/1erszT-HsWf1zCIfhbqHlsotHxWUvDyI2xUwNQQQxLgs/edit?usp=sharing)
+* [Ubiquitous 
Jobs](https://docs.google.com/document/d/12hr6GnUZU3mc7xsWRzMi3nQILGB-3vyUxvbG-6YmvdE/edit)
+* [Pluggable 
Scheduling](https://docs.google.com/document/d/1fVHLt9AF-YbOCVCDMQmi5DATVusn-tqY8DldKbjVEm0/edit)
+
+Design documents can be found in the Aurora issue tracker via the query 
[`project = AURORA AND text ~ "docs.google.com" ORDER BY 
created`](https://issues.apache.org/jira/browse/AURORA-1528?jql=project%20%3D%20AURORA%20AND%20text%20~%20%22docs.google.com%22%20ORDER%20BY%20created).


Reply via email to