You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by dl...@apache.org on 2015/06/13 22:31:49 UTC
svn commit: r1685322 [1/3] - in /mesos/site: publish/ publish/documentation/
publish/documentation/configuration/
publish/documentation/engineering-principles-and-practices/
publish/documentation/getting-started/ publish/documentation/latest/
publish/d...
Author: dlester
Date: Sat Jun 13 20:31:48 2015
New Revision: 1685322
URL: http://svn.apache.org/r1685322
Log:
Update Mesos documentation.
Added:
mesos/site/publish/documentation/engineering-principles-and-practices/
mesos/site/publish/documentation/engineering-principles-and-practices/index.html
mesos/site/publish/documentation/latest/engineering-principles-and-practices/
mesos/site/publish/documentation/latest/engineering-principles-and-practices/index.html
mesos/site/source/documentation/latest/engineering-principles-and-practices.md
Modified:
mesos/site/publish/documentation/configuration/index.html
mesos/site/publish/documentation/getting-started/index.html
mesos/site/publish/documentation/index.html
mesos/site/publish/documentation/latest/configuration/index.html
mesos/site/publish/documentation/latest/getting-started/index.html
mesos/site/publish/documentation/latest/index.html
mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html
mesos/site/publish/documentation/latest/powered-by-mesos/index.html
mesos/site/publish/documentation/mesos-c++-style-guide/index.html
mesos/site/publish/documentation/powered-by-mesos/index.html
mesos/site/publish/gettingstarted/index.html
mesos/site/publish/sitemap.xml
mesos/site/source/documentation/latest.html.md
mesos/site/source/documentation/latest/configuration.md
mesos/site/source/documentation/latest/getting-started.md
mesos/site/source/documentation/latest/mesos-c++-style-guide.md
mesos/site/source/documentation/latest/powered-by-mesos.md
Modified: mesos/site/publish/documentation/configuration/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/configuration/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/configuration/index.html (original)
+++ mesos/site/publish/documentation/configuration/index.html Sat Jun 13 20:31:48 2015
@@ -123,6 +123,29 @@
</tr>
<tr>
<td>
+ --firewall_rules=VALUE
+ </td>
+ <td>
+ The value could be a JSON formatted string of rules or a file path
+ containing the JSON formated rules used in the endpoints firewall. Path
+ could be of the form <code>file:///path/to/file</code> or
+ <code>/path/to/file</code>.
+ <p/>
+ See the Firewall message in flags.proto for the expected format.
+ <p/>
+ Example:
+<pre><code>{
+ "disabled_endpoints" : {
+ "paths" : [
+ "/files/browse.json",
+ "/slave(0)/stats.json",
+ ]
+ }
+}</code></pre>
+ </td>
+ </tr>
+ <tr>
+ <td>
--[no-]help
</td>
<td>
Added: mesos/site/publish/documentation/engineering-principles-and-practices/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/engineering-principles-and-practices/index.html?rev=1685322&view=auto
==============================================================================
--- mesos/site/publish/documentation/engineering-principles-and-practices/index.html (added)
+++ mesos/site/publish/documentation/engineering-principles-and-practices/index.html Sat Jun 13 20:31:48 2015
@@ -0,0 +1,135 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+ <link rel="alternate" type="application/atom+xml" title="Apache Mesos Blog" href="/blog/feed.xml">
+
+ <link href="../../assets/css/main.css" media="screen" rel="stylesheet" type="text/css" />
+
+
+
+ <!-- Google Analytics Magic -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20226872-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>
+ <!-- magical breadcrumbs -->
+ <div class="topnav">
+ <ul class="breadcrumb">
+ <li>
+ <div class="dropdown">
+ <a data-toggle="dropdown" href="#">Apache Software Foundation <span class="caret"></span></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
+ <li><a href="http://www.apache.org">Apache Homepage</a></li>
+ <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>
+ </li>
+ <li><a href="http://mesos.apache.org">Apache Mesos</a></li>
+
+
+ <li><a href="/documentation
+/">Documentation
+</a></li>
+
+
+ </ul><!-- /breadcrumb -->
+ </div>
+
+ <!-- navbar excitement -->
+ <div class="navbar navbar-static-top" role="navigation">
+ <div class="navbar-inner">
+ <div class="container">
+ <a href="/" class="logo"><img src="/assets/img/mesos_logo.png" alt="Apache Mesos logo" /></a>
+ <div class="nav-collapse">
+ <ul class="nav nav-pills navbar-right">
+ <li><a href="/gettingstarted/">Getting Started</a></li>
+ <li><a href="/documentation/latest/">Documentation</a></li>
+ <li><a href="/downloads/">Downloads</a></li>
+ <li><a href="/community/">Community</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div><!-- /.navbar -->
+
+ <div class="container">
+
+ <div class="row-fluid">
+ <div class="col-md-4">
+ <h4>If you're new to Mesos</h4>
+ <p>See the <a href="/gettingstarted/">getting started</a> page for more information about downloading, building, and deploying Mesos.</p>
+
+ <h4>If you'd like to get involved or you're looking for support</h4>
+ <p>See our <a href="/community/">community</a> page for more details.</p>
+ </div>
+ <div class="col-md-8">
+ <h1>Engineering Principles and Practices</h1>
+
+<p>This document is an attempt to capture a shared set of values for the project.
+Many companies rely on Mesos as a foundational layer of their software
+infrastructure and it is imperative that we ship <strong>robust, high quality</strong>
+code. We aim to foster a culture where we can trust and rely upon the work of
+the community.</p>
+
+<p>The following are some of the aspirational principles and practices that
+guide us:</p>
+
+<ol>
+<li>We value <strong>craftsmanship</strong>: code should be easy to read and understand,
+should be written with high attention to detail, and should be consistent
+in its style. Code is written for humans to read and maintain!</li>
+<li>We value <strong>resiliency</strong>: our system must be highly-available, stable, and
+backwards-compatible. We must consider the implications of failures.</li>
+<li>We value <strong>accountability</strong>: we own and support our software, and are
+accountable for improving it, fixing issues, and learning from our mistakes.</li>
+<li>We value <strong>design and code review</strong>: review helps us maintain a high
+quality system architecture and high quality code, it also helps us mentor
+new contributors, learn to collaborate more effectively, and reduce the
+amount of mistakes.</li>
+<li>We value <strong>automated testing</strong>: automated testing allows us to iterate and
+refactor in our large codebase, while verifying correctness and preventing
+regression.</li>
+<li>We value <strong>benchmarking</strong>: benchmarking allows us to identify the right
+locations to target performance improvements. It also allows us to iterate
+and refactor in our large codebase, while observing the performance
+implications.</li>
+</ol>
+
+
+ </div>
+</div>
+
+
+ <hr>
+
+ <!-- footer -->
+ <div class="footer">
+ <p>© 2012-2014 <a href="http://apache.org">The Apache Software Foundation</a>.
+ Apache Mesos, the Apache feather logo, and the Apache Mesos project logo are trademarks of The Apache Software Foundation.<p>
+ </div><!-- /footer -->
+
+ </div> <!-- /container -->
+
+ <!-- JS -->
+ <script src="//code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script>
+ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
+ </body>
+</html>
\ No newline at end of file
Modified: mesos/site/publish/documentation/getting-started/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/getting-started/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/getting-started/index.html (original)
+++ mesos/site/publish/documentation/getting-started/index.html Sat Jun 13 20:31:48 2015
@@ -107,48 +107,47 @@
</ul>
-<h3>Ubuntu 12.04</h3>
+<h3>Ubuntu</h3>
-<ul>
-<li><p>Following are the instructions for stock Ubuntu 12.04 64 Bit. If you are using a different OS please install the packages accordingly.</p>
+<p>The following assumes a stock install of Ubuntu 14.04 LTS, to which you should add a current
+Java JDK (for example, OpenJDK):</p>
-<pre><code> # Ensure apt-get is up to date.
- $ sudo apt-get update
+<pre><code> # Update the packages
+ $ sudo apt-get update
- # Install build tools.
- $ sudo apt-get install build-essential
+ # Installs the latest OpenJDK (***Only required if you don't already have a working JDK***)
+ $ sudo apt-get install -y openjdk-7-jdk
+</code></pre>
- # Install OpenJDK java.
- $ sudo apt-get install openjdk-6-jdk
+<p>If you are building from git repository, you will need to additionally install the following packages:</p>
- # Install devel python.
- $ sudo apt-get install python-dev python-boto
+<pre><code> # Only necessary if building from git repository
+ $ sudo apt-get install -y autoconf libtool
+</code></pre>
- # Install devel libcurl
- $ sudo apt-get install libcurl4-nss-dev
+<p>The following are the necessary dependencies for <code>Mesos 0.22</code>:</p>
- # Install devel libsasl (***Only required for Mesos 0.14.0 or newer***).
- $ sudo apt-get install libsasl2-dev
+<pre><code> $ sudo apt-get -y install build-essential python-dev python-boto \
+ libcurl4-nss-dev libsasl2-dev \
+ maven libapr1-dev libsvn-dev
+</code></pre>
- # Install Maven (***Only required for Mesos 0.18.1 or newer***).
- $ sudo apt-get install maven
+<h3>Mac OSX (Yosemite)</h3>
- # Install devel libapr1 (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libapr1-dev
+<p>Before starting, you will need to install <a href="https://developer.apple.com/xcode/">XCode</a> and
+the Command Line Tools via the AppStore.</p>
- # Install devel libsvn (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libsvn-dev
-</code></pre></li>
-<li><p>If you are building from git repository, you will need to additionally install the following packages.</p>
+<p>Use <a href="http://brew.sh/">homebrew</a> to install the additional dependencies:</p>
-<pre><code> # Install autotoconf and automake.
- $ sudo apt-get install autoconf
+<pre><code> # If you don't already have `brew` installed
+ $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- # Install libtool.
- $ sudo apt-get install libtool
-</code></pre></li>
-</ul>
+ # Install libraries
+ brew install autoconf automake libtool subversion maven
+</code></pre>
+<p>You may (optionally) also need <a href="https://www.python.org/downloads">Python 3</a> as it’s not installed by default
+on OSX.</p>
<h3>CentOS 6.5</h3>
@@ -191,8 +190,12 @@
$ cd build
$ ../configure
$ make
+</code></pre>
+
+<p>to speed up the build and reduce verbosity of the logs, you can append <code>-j=<number of cores> V=0</code>
+to <code>make</code>.</p>
- # Run test suite.
+<pre><code> # Run test suite.
$ make check
# Install (***Optional***).
Modified: mesos/site/publish/documentation/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/index.html (original)
+++ mesos/site/publish/documentation/index.html Sat Jun 13 20:31:48 2015
@@ -122,6 +122,7 @@
<li><a href="/documentation/latest/app-framework-development-guide/">Framework Development Guide</a> describes how to build applications on top of Mesos.</li>
<li><a href="/documentation/latest/reconciliation/">Reconciliation</a> for ensuring a framework’s state remains eventually consistent in the face of failures.</li>
<li><a href="/api/latest/java/">Javadoc</a> documents the Mesos Java API.</li>
+<li><a href="/api/latest/c++/namespacemesos.html">Doxygen</a> documents the Mesos C++ API.</li>
<li><a href="/documentation/latest/tools/">Developer Tools</a> for hacking on Mesos or writing frameworks.</li>
</ul>
@@ -129,7 +130,7 @@
<h2>Mesos Modules</h2>
<ul>
-<li><a href="/documentation/latest/modules/">Mesos Modules</a> for specifying mesos modules for master, slave and tests.</li>
+<li><a href="/documentation/latest/modules/">Mesos Modules</a> for specifying Mesos modules for master, slave and tests.</li>
</ul>
@@ -139,9 +140,12 @@
<li><a href="/documentation/latest/reporting-a-bug/">Reporting an Issue, Improvement, or Feature</a> for getting started with JIRA.</li>
<li><a href="/documentation/latest/submitting-a-patch/">Submitting a Patch</a> for getting started with ReviewBoard, and our tooling around it.</li>
<li><a href="/documentation/latest/effective-code-reviewing/">Effective Code Reviewing</a> guidelines, tips, and learnings for how to do effective code reviews.</li>
+<li><a href="/documentation/latest/engineering-principles-and-practices/">Engineering Principles and Practices</a> to serve as a shared set of project-level values for the community.</li>
<li><a href="/documentation/latest/committing/">Committing</a> guidelines for committing changes.</li>
<li><a href="/documentation/latest/committers/">Committers and Maintainers</a> a listing of project committers and component maintainers; useful when seeking feedback.</li>
+<li><a href="/api/latest/c++/">Doxygen</a> documents the internal Mesos APIs.</li>
<li><a href="/documentation/latest/mesos-c++-style-guide/">C++ Style Guide</a></li>
+<li><a href="/documentation/latest/mesos-doxygen-style-guide/">Doxygen Style Guide</a></li>
<li><a href="/documentation/latest/mesos-roadmap/">Development Roadmap</a></li>
<li><a href="/documentation/latest/release-guide/">Release Guide</a></li>
</ul>
Modified: mesos/site/publish/documentation/latest/configuration/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/configuration/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/configuration/index.html (original)
+++ mesos/site/publish/documentation/latest/configuration/index.html Sat Jun 13 20:31:48 2015
@@ -123,6 +123,29 @@
</tr>
<tr>
<td>
+ --firewall_rules=VALUE
+ </td>
+ <td>
+ The value could be a JSON formatted string of rules or a file path
+ containing the JSON formated rules used in the endpoints firewall. Path
+ could be of the form <code>file:///path/to/file</code> or
+ <code>/path/to/file</code>.
+ <p/>
+ See the Firewall message in flags.proto for the expected format.
+ <p/>
+ Example:
+<pre><code>{
+ "disabled_endpoints" : {
+ "paths" : [
+ "/files/browse.json",
+ "/slave(0)/stats.json",
+ ]
+ }
+}</code></pre>
+ </td>
+ </tr>
+ <tr>
+ <td>
--[no-]help
</td>
<td>
Added: mesos/site/publish/documentation/latest/engineering-principles-and-practices/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/engineering-principles-and-practices/index.html?rev=1685322&view=auto
==============================================================================
--- mesos/site/publish/documentation/latest/engineering-principles-and-practices/index.html (added)
+++ mesos/site/publish/documentation/latest/engineering-principles-and-practices/index.html Sat Jun 13 20:31:48 2015
@@ -0,0 +1,135 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title></title>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
+ <link rel="alternate" type="application/atom+xml" title="Apache Mesos Blog" href="/blog/feed.xml">
+
+ <link href="../../../assets/css/main.css" media="screen" rel="stylesheet" type="text/css" />
+
+
+
+ <!-- Google Analytics Magic -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20226872-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>
+ <!-- magical breadcrumbs -->
+ <div class="topnav">
+ <ul class="breadcrumb">
+ <li>
+ <div class="dropdown">
+ <a data-toggle="dropdown" href="#">Apache Software Foundation <span class="caret"></span></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
+ <li><a href="http://www.apache.org">Apache Homepage</a></li>
+ <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>
+ </li>
+ <li><a href="http://mesos.apache.org">Apache Mesos</a></li>
+
+
+ <li><a href="/documentation
+/">Documentation
+</a></li>
+
+
+ </ul><!-- /breadcrumb -->
+ </div>
+
+ <!-- navbar excitement -->
+ <div class="navbar navbar-static-top" role="navigation">
+ <div class="navbar-inner">
+ <div class="container">
+ <a href="/" class="logo"><img src="/assets/img/mesos_logo.png" alt="Apache Mesos logo" /></a>
+ <div class="nav-collapse">
+ <ul class="nav nav-pills navbar-right">
+ <li><a href="/gettingstarted/">Getting Started</a></li>
+ <li><a href="/documentation/latest/">Documentation</a></li>
+ <li><a href="/downloads/">Downloads</a></li>
+ <li><a href="/community/">Community</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div><!-- /.navbar -->
+
+ <div class="container">
+
+ <div class="row-fluid">
+ <div class="col-md-4">
+ <h4>If you're new to Mesos</h4>
+ <p>See the <a href="/gettingstarted/">getting started</a> page for more information about downloading, building, and deploying Mesos.</p>
+
+ <h4>If you'd like to get involved or you're looking for support</h4>
+ <p>See our <a href="/community/">community</a> page for more details.</p>
+ </div>
+ <div class="col-md-8">
+ <h1>Engineering Principles and Practices</h1>
+
+<p>This document is an attempt to capture a shared set of values for the project.
+Many companies rely on Mesos as a foundational layer of their software
+infrastructure and it is imperative that we ship <strong>robust, high quality</strong>
+code. We aim to foster a culture where we can trust and rely upon the work of
+the community.</p>
+
+<p>The following are some of the aspirational principles and practices that
+guide us:</p>
+
+<ol>
+<li>We value <strong>craftsmanship</strong>: code should be easy to read and understand,
+should be written with high attention to detail, and should be consistent
+in its style. Code is written for humans to read and maintain!</li>
+<li>We value <strong>resiliency</strong>: our system must be highly-available, stable, and
+backwards-compatible. We must consider the implications of failures.</li>
+<li>We value <strong>accountability</strong>: we own and support our software, and are
+accountable for improving it, fixing issues, and learning from our mistakes.</li>
+<li>We value <strong>design and code review</strong>: review helps us maintain a high
+quality system architecture and high quality code, it also helps us mentor
+new contributors, learn to collaborate more effectively, and reduce the
+amount of mistakes.</li>
+<li>We value <strong>automated testing</strong>: automated testing allows us to iterate and
+refactor in our large codebase, while verifying correctness and preventing
+regression.</li>
+<li>We value <strong>benchmarking</strong>: benchmarking allows us to identify the right
+locations to target performance improvements. It also allows us to iterate
+and refactor in our large codebase, while observing the performance
+implications.</li>
+</ol>
+
+
+ </div>
+</div>
+
+
+ <hr>
+
+ <!-- footer -->
+ <div class="footer">
+ <p>© 2012-2014 <a href="http://apache.org">The Apache Software Foundation</a>.
+ Apache Mesos, the Apache feather logo, and the Apache Mesos project logo are trademarks of The Apache Software Foundation.<p>
+ </div><!-- /footer -->
+
+ </div> <!-- /container -->
+
+ <!-- JS -->
+ <script src="//code.jquery.com/jquery-1.11.0.min.js" type="text/javascript"></script>
+ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
+ </body>
+</html>
\ No newline at end of file
Modified: mesos/site/publish/documentation/latest/getting-started/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/getting-started/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/getting-started/index.html (original)
+++ mesos/site/publish/documentation/latest/getting-started/index.html Sat Jun 13 20:31:48 2015
@@ -107,48 +107,47 @@
</ul>
-<h3>Ubuntu 12.04</h3>
+<h3>Ubuntu</h3>
-<ul>
-<li><p>Following are the instructions for stock Ubuntu 12.04 64 Bit. If you are using a different OS please install the packages accordingly.</p>
+<p>The following assumes a stock install of Ubuntu 14.04 LTS, to which you should add a current
+Java JDK (for example, OpenJDK):</p>
-<pre><code> # Ensure apt-get is up to date.
- $ sudo apt-get update
+<pre><code> # Update the packages
+ $ sudo apt-get update
- # Install build tools.
- $ sudo apt-get install build-essential
+ # Installs the latest OpenJDK (***Only required if you don't already have a working JDK***)
+ $ sudo apt-get install -y openjdk-7-jdk
+</code></pre>
- # Install OpenJDK java.
- $ sudo apt-get install openjdk-6-jdk
+<p>If you are building from git repository, you will need to additionally install the following packages:</p>
- # Install devel python.
- $ sudo apt-get install python-dev python-boto
+<pre><code> # Only necessary if building from git repository
+ $ sudo apt-get install -y autoconf libtool
+</code></pre>
- # Install devel libcurl
- $ sudo apt-get install libcurl4-nss-dev
+<p>The following are the necessary dependencies for <code>Mesos 0.22</code>:</p>
- # Install devel libsasl (***Only required for Mesos 0.14.0 or newer***).
- $ sudo apt-get install libsasl2-dev
+<pre><code> $ sudo apt-get -y install build-essential python-dev python-boto \
+ libcurl4-nss-dev libsasl2-dev \
+ maven libapr1-dev libsvn-dev
+</code></pre>
- # Install Maven (***Only required for Mesos 0.18.1 or newer***).
- $ sudo apt-get install maven
+<h3>Mac OSX (Yosemite)</h3>
- # Install devel libapr1 (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libapr1-dev
+<p>Before starting, you will need to install <a href="https://developer.apple.com/xcode/">XCode</a> and
+the Command Line Tools via the AppStore.</p>
- # Install devel libsvn (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libsvn-dev
-</code></pre></li>
-<li><p>If you are building from git repository, you will need to additionally install the following packages.</p>
+<p>Use <a href="http://brew.sh/">homebrew</a> to install the additional dependencies:</p>
-<pre><code> # Install autotoconf and automake.
- $ sudo apt-get install autoconf
+<pre><code> # If you don't already have `brew` installed
+ $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- # Install libtool.
- $ sudo apt-get install libtool
-</code></pre></li>
-</ul>
+ # Install libraries
+ brew install autoconf automake libtool subversion maven
+</code></pre>
+<p>You may (optionally) also need <a href="https://www.python.org/downloads">Python 3</a> as it’s not installed by default
+on OSX.</p>
<h3>CentOS 6.5</h3>
@@ -191,8 +190,12 @@
$ cd build
$ ../configure
$ make
+</code></pre>
+
+<p>to speed up the build and reduce verbosity of the logs, you can append <code>-j=<number of cores> V=0</code>
+to <code>make</code>.</p>
- # Run test suite.
+<pre><code> # Run test suite.
$ make check
# Install (***Optional***).
Modified: mesos/site/publish/documentation/latest/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/index.html (original)
+++ mesos/site/publish/documentation/latest/index.html Sat Jun 13 20:31:48 2015
@@ -122,6 +122,7 @@
<li><a href="/documentation/latest/app-framework-development-guide/">Framework Development Guide</a> describes how to build applications on top of Mesos.</li>
<li><a href="/documentation/latest/reconciliation/">Reconciliation</a> for ensuring a framework’s state remains eventually consistent in the face of failures.</li>
<li><a href="/api/latest/java/">Javadoc</a> documents the Mesos Java API.</li>
+<li><a href="/api/latest/c++/namespacemesos.html">Doxygen</a> documents the Mesos C++ API.</li>
<li><a href="/documentation/latest/tools/">Developer Tools</a> for hacking on Mesos or writing frameworks.</li>
</ul>
@@ -129,7 +130,7 @@
<h2>Mesos Modules</h2>
<ul>
-<li><a href="/documentation/latest/modules/">Mesos Modules</a> for specifying mesos modules for master, slave and tests.</li>
+<li><a href="/documentation/latest/modules/">Mesos Modules</a> for specifying Mesos modules for master, slave and tests.</li>
</ul>
@@ -139,9 +140,12 @@
<li><a href="/documentation/latest/reporting-a-bug/">Reporting an Issue, Improvement, or Feature</a> for getting started with JIRA.</li>
<li><a href="/documentation/latest/submitting-a-patch/">Submitting a Patch</a> for getting started with ReviewBoard, and our tooling around it.</li>
<li><a href="/documentation/latest/effective-code-reviewing/">Effective Code Reviewing</a> guidelines, tips, and learnings for how to do effective code reviews.</li>
+<li><a href="/documentation/latest/engineering-principles-and-practices/">Engineering Principles and Practices</a> to serve as a shared set of project-level values for the community.</li>
<li><a href="/documentation/latest/committing/">Committing</a> guidelines for committing changes.</li>
<li><a href="/documentation/latest/committers/">Committers and Maintainers</a> a listing of project committers and component maintainers; useful when seeking feedback.</li>
+<li><a href="/api/latest/c++/">Doxygen</a> documents the internal Mesos APIs.</li>
<li><a href="/documentation/latest/mesos-c++-style-guide/">C++ Style Guide</a></li>
+<li><a href="/documentation/latest/mesos-doxygen-style-guide/">Doxygen Style Guide</a></li>
<li><a href="/documentation/latest/mesos-roadmap/">Development Roadmap</a></li>
<li><a href="/documentation/latest/release-guide/">Release Guide</a></li>
</ul>
Modified: mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/mesos-c%2B%2B-style-guide/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html (original)
+++ mesos/site/publish/documentation/latest/mesos-c++-style-guide/index.html Sat Jun 13 20:31:48 2015
@@ -282,13 +282,7 @@ const T t = T("Hello").member();
</ul>
-<pre><code>hashmap<int, hashset<int>> index;
-
-struct T
-{
- int number;
- string name;
-};
+<pre><code>hashmap<string, hashset<int>> index;
// 1: Ok.
const hashset<int>& values = index[2];
@@ -299,9 +293,9 @@ for (auto iterator = index.begin(); iter
}
// 3: Ok.
-foreachpair (const int& key, hashset<int>& values, index) {}
+foreachpair (const string& key, const hashset<int>& values, index) {}
foreachvalue (const hashset<int>& values, index) {}
-foreachkey (const int& key, index) {}
+foreachkey (const string& key, index) {}
// 4: Avoid aliases in most circumstances as they can be dangerous.
// This is an example of a dangling alias!
Modified: mesos/site/publish/documentation/latest/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/powered-by-mesos/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/latest/powered-by-mesos/index.html Sat Jun 13 20:31:48 2015
@@ -105,6 +105,7 @@
<li><a href="https://www.coursera.org">Coursera</a></li>
<li><a href="http://www.crpgl.lu">CRP-Gabriel Lippmann</a></li>
<li><a href="http://www.daemon.com.au">Daemon</a></li>
+<li><a href="http://www.dataman-inc.com">DataMan</a></li>
<li><a href="http://www.devicescape.com">Devicescape</a></li>
<li><a href="http://www.duedil.com">DueDil</a></li>
<li><a href="http://www.ebay.com">eBay</a></li>
@@ -148,6 +149,7 @@
<li><a href="http://www.thefactory.com">The Factory</a></li>
<li><a href="http://www.timewarnercable.com">Time Warner Cable</a></li>
<li><a href="http://www.twitter.com">Twitter</a></li>
+<li><a href="http://www.uber.com">Uber</a></li>
<li><a href="http://www.ucsf.edu">UCSF</a></li>
<li><a href="http://www.berkeley.edu">UC Berkeley</a></li>
<li><a href="http://www.uninett.no">Uninett AS</a></li>
Modified: mesos/site/publish/documentation/mesos-c++-style-guide/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/mesos-c%2B%2B-style-guide/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/mesos-c++-style-guide/index.html (original)
+++ mesos/site/publish/documentation/mesos-c++-style-guide/index.html Sat Jun 13 20:31:48 2015
@@ -282,13 +282,7 @@ const T t = T("Hello").member();
</ul>
-<pre><code>hashmap<int, hashset<int>> index;
-
-struct T
-{
- int number;
- string name;
-};
+<pre><code>hashmap<string, hashset<int>> index;
// 1: Ok.
const hashset<int>& values = index[2];
@@ -299,9 +293,9 @@ for (auto iterator = index.begin(); iter
}
// 3: Ok.
-foreachpair (const int& key, hashset<int>& values, index) {}
+foreachpair (const string& key, const hashset<int>& values, index) {}
foreachvalue (const hashset<int>& values, index) {}
-foreachkey (const int& key, index) {}
+foreachkey (const string& key, index) {}
// 4: Avoid aliases in most circumstances as they can be dangerous.
// This is an example of a dangling alias!
Modified: mesos/site/publish/documentation/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/powered-by-mesos/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/documentation/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/powered-by-mesos/index.html Sat Jun 13 20:31:48 2015
@@ -105,6 +105,7 @@
<li><a href="https://www.coursera.org">Coursera</a></li>
<li><a href="http://www.crpgl.lu">CRP-Gabriel Lippmann</a></li>
<li><a href="http://www.daemon.com.au">Daemon</a></li>
+<li><a href="http://www.dataman-inc.com">DataMan</a></li>
<li><a href="http://www.devicescape.com">Devicescape</a></li>
<li><a href="http://www.duedil.com">DueDil</a></li>
<li><a href="http://www.ebay.com">eBay</a></li>
@@ -148,6 +149,7 @@
<li><a href="http://www.thefactory.com">The Factory</a></li>
<li><a href="http://www.timewarnercable.com">Time Warner Cable</a></li>
<li><a href="http://www.twitter.com">Twitter</a></li>
+<li><a href="http://www.uber.com">Uber</a></li>
<li><a href="http://www.ucsf.edu">UCSF</a></li>
<li><a href="http://www.berkeley.edu">UC Berkeley</a></li>
<li><a href="http://www.uninett.no">Uninett AS</a></li>
Modified: mesos/site/publish/gettingstarted/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/gettingstarted/index.html?rev=1685322&r1=1685321&r2=1685322&view=diff
==============================================================================
--- mesos/site/publish/gettingstarted/index.html (original)
+++ mesos/site/publish/gettingstarted/index.html Sat Jun 13 20:31:48 2015
@@ -107,48 +107,47 @@
</ul>
-<h3>Ubuntu 12.04</h3>
+<h3>Ubuntu</h3>
-<ul>
-<li><p>Following are the instructions for stock Ubuntu 12.04 64 Bit. If you are using a different OS please install the packages accordingly.</p>
+<p>The following assumes a stock install of Ubuntu 14.04 LTS, to which you should add a current
+Java JDK (for example, OpenJDK):</p>
-<pre><code> # Ensure apt-get is up to date.
- $ sudo apt-get update
+<pre><code> # Update the packages
+ $ sudo apt-get update
- # Install build tools.
- $ sudo apt-get install build-essential
+ # Installs the latest OpenJDK (***Only required if you don't already have a working JDK***)
+ $ sudo apt-get install -y openjdk-7-jdk
+</code></pre>
- # Install OpenJDK java.
- $ sudo apt-get install openjdk-6-jdk
+<p>If you are building from git repository, you will need to additionally install the following packages:</p>
- # Install devel python.
- $ sudo apt-get install python-dev python-boto
+<pre><code> # Only necessary if building from git repository
+ $ sudo apt-get install -y autoconf libtool
+</code></pre>
- # Install devel libcurl
- $ sudo apt-get install libcurl4-nss-dev
+<p>The following are the necessary dependencies for <code>Mesos 0.22</code>:</p>
- # Install devel libsasl (***Only required for Mesos 0.14.0 or newer***).
- $ sudo apt-get install libsasl2-dev
+<pre><code> $ sudo apt-get -y install build-essential python-dev python-boto \
+ libcurl4-nss-dev libsasl2-dev \
+ maven libapr1-dev libsvn-dev
+</code></pre>
- # Install Maven (***Only required for Mesos 0.18.1 or newer***).
- $ sudo apt-get install maven
+<h3>Mac OSX (Yosemite)</h3>
- # Install devel libapr1 (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libapr1-dev
+<p>Before starting, you will need to install <a href="https://developer.apple.com/xcode/">XCode</a> and
+the Command Line Tools via the AppStore.</p>
- # Install devel libsvn (***Only required for Mesos 0.21.0 or newer***)
- $ sudo apt-get install libsvn-dev
-</code></pre></li>
-<li><p>If you are building from git repository, you will need to additionally install the following packages.</p>
+<p>Use <a href="http://brew.sh/">homebrew</a> to install the additional dependencies:</p>
-<pre><code> # Install autotoconf and automake.
- $ sudo apt-get install autoconf
+<pre><code> # If you don't already have `brew` installed
+ $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- # Install libtool.
- $ sudo apt-get install libtool
-</code></pre></li>
-</ul>
+ # Install libraries
+ brew install autoconf automake libtool subversion maven
+</code></pre>
+<p>You may (optionally) also need <a href="https://www.python.org/downloads">Python 3</a> as it’s not installed by default
+on OSX.</p>
<h3>CentOS 6.5</h3>
@@ -191,8 +190,12 @@
$ cd build
$ ../configure
$ make
+</code></pre>
+
+<p>to speed up the build and reduce verbosity of the logs, you can append <code>-j=<number of cores> V=0</code>
+to <code>make</code>.</p>
- # Run test suite.
+<pre><code> # Run test suite.
$ make check
# Install (***Optional***).