You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2015/12/17 06:22:37 UTC

[1/4] mesos git commit: Wrote cmd to create WANdiscoSVN file for centos.

Repository: mesos
Updated Branches:
  refs/heads/master 492f1c62c -> 86f20cc91


Wrote cmd to create WANdiscoSVN file for centos.

Previously we just told users to create this file and then add the
contents to it. Now they can just copy and paste a single command to
create the file and fill the contents automatically.

Review: https://reviews.apache.org/r/41361/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dae2c066
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dae2c066
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dae2c066

Branch: refs/heads/master
Commit: dae2c0667c1be913d08cff57717764c6ce7a45d9
Parents: 492f1c6
Author: Kevin Klues <kl...@gmail.com>
Authored: Thu Dec 17 06:21:02 2015 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 17 06:21:02 2015 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dae2c066/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 9b0df2e..8fb87cd 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -86,14 +86,15 @@ Following are the instructions for stock CentOS 6.6. If you are using a differen
 
     # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package, which is
     # not available in the default repositories.
-    # Add the WANdisco SVN repo file: '/etc/yum.repos.d/wandisco-svn.repo' with content:
-
-      [WANdiscoSVN]
-      name=WANdisco SVN Repo 1.8
-      enabled=1
-      baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
-      gpgcheck=1
-      gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    # Create a WANdisco SVN repo file to install the correct version:
+    $ sudo cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF
+    [WANdiscoSVN]
+    name=WANdisco SVN Repo 1.8
+    enabled=1
+    baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
+    gpgcheck=1
+    gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    EOF
 
     # Install essential development tools.
     $ sudo yum groupinstall -y "Development Tools"
@@ -118,16 +119,17 @@ Following are the instructions for stock CentOS 7.1. If you are using a differen
     # Fetch the Apache Maven repo file.
     $ sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
 
-    # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package, which is
-    # not available in the default repositories.
-    # Add the WANdisco SVN repo file: '/etc/yum.repos.d/wandisco-svn.repo' with content:
-
-      [WANdiscoSVN]
-      name=WANdisco SVN Repo 1.9
-      enabled=1
-      baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/
-      gpgcheck=1
-      gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package,
+    # which is not available in the default repositories.
+    # Create a WANdisco SVN repo file to install the correct version:
+    $ sudo cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF
+    [WANdiscoSVN]
+    name=WANdisco SVN Repo 1.9
+    enabled=1
+    baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/
+    gpgcheck=1
+    gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    EOF
 
     # Install essential development tools.
     $ sudo yum groupinstall -y "Development Tools"


[3/4] mesos git commit: Reworded NOTE in Examples for Getting Started doc.

Posted by ti...@apache.org.
Reworded NOTE in Examples for Getting Started doc.

The previous wording was a bit confusing. The new text makes it clear
that the test-framework binaries have been generated by a call to
`make check` as described in the 'Building Mesos' section.

Also, I changed the text from being a footnote to being actual text
inline with the rest of the text in this section. The note is relevant
enough to the text above it to warrant such a change.

Review: https://reviews.apache.org/r/41363/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/21eff274
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/21eff274
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/21eff274

Branch: refs/heads/master
Commit: 21eff274db7213af6b5e65fb0329bb711b675b88
Parents: 6efad86
Author: Kevin Klues <kl...@gmail.com>
Authored: Thu Dec 17 06:21:24 2015 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 17 06:21:24 2015 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/21eff274/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index da7b46c..08dbf26 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -167,6 +167,8 @@ In order to speed up the build and reduce verbosity of the logs, you can append
 ## Examples
 
 Mesos comes bundled with example frameworks written in C++, Java and Python.
+The framework binaries will only be available after running `make check`, as
+described in the ***Building Mesos*** section above.
 
     # Change into build directory.
     $ cd build
@@ -188,5 +190,3 @@ Mesos comes bundled with example frameworks written in C++, Java and Python.
 
     # Run Python framework (Exits after successfully running some tasks.).
     $ ./src/examples/python/test-framework 127.0.0.1:5050
-
-*NOTE: To build the example frameworks, make sure you build the test suite by doing `make check`.*


[4/4] mesos git commit: Added NOTE to Examples in Getting Started on prod.

Posted by ti...@apache.org.
Added NOTE to Examples in Getting Started on prod.

The current instructions assume you are launching mesos on your local
machine. This could be confusing for someone trying to run mesos on
(e.g. AWS) and not understanding why they can't access the Mesos
web page. This note adds a comment to try and hinder such confusion.

Review: https://reviews.apache.org/r/41364/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/86f20cc9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/86f20cc9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/86f20cc9

Branch: refs/heads/master
Commit: 86f20cc91f0de673aefe88e7baec9f3c273cca21
Parents: 21eff27
Author: Kevin Klues <kl...@gmail.com>
Authored: Thu Dec 17 06:21:40 2015 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 17 06:21:40 2015 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/86f20cc9/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 08dbf26..05cb461 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -190,3 +190,9 @@ described in the ***Building Mesos*** section above.
 
     # Run Python framework (Exits after successfully running some tasks.).
     $ ./src/examples/python/test-framework 127.0.0.1:5050
+
+*Note: These examples assume you are running Mesos on your local machine.
+Following them will not allow you to access the Mesos web page in a production
+environment (e.g. on AWS). For that you will need to specify the actual IP of
+your host when launching the Mesos master and ensure your firewall settings
+allow access to port 5050 from the outside world.*


[2/4] mesos git commit: Added note in docs for installing wget, tar, git.

Posted by ti...@apache.org.
Added note in docs for installing wget, tar, git.

The 'Downloading Mesos' section of the getting started guide
assumes that you already have the 'wget', 'tar', and 'git' utilities
installed on your system before running through the 'System
Requirements' section below it. This commit adds a note to first run
through the 'System Requirments' section if problems are encountered
with downloading mesos via the provided instructions.

It also adds the 'wget', 'tar', and 'git' utilities to the list of
requirements for all systems in the 'System Requirements' section.
The two CentOS sections already had instructions for 'wget' and 'tar',
but now 'git' has been added to the list.

Review: https://reviews.apache.org/r/41362

Review: https://reviews.apache.org/r/41362/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6efad865
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6efad865
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6efad865

Branch: refs/heads/master
Commit: 6efad8650ddb51c1d755b01cd83b18b38d8d1476
Parents: dae2c06
Author: Kevin Klues <kl...@gmail.com>
Authored: Thu Dec 17 06:21:12 2015 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Thu Dec 17 06:21:12 2015 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6efad865/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 8fb87cd..da7b46c 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -17,6 +17,8 @@ There are different ways you can get Mesos:
 
     $ git clone https://git-wip-us.apache.org/repos/asf/mesos.git
 
+*NOTE: If you have problems running the above commands, you may need to first run through the ***System Requirements*** section below to install the `wget`, `tar`, and `git` utilities for your system.*
+
 ## System Requirements
 
 Mesos runs on Linux (64 Bit) and Mac OS X (64 Bit).
@@ -32,6 +34,9 @@ Following are the instructions for stock Ubuntu 14.04. If you are using a differ
     # Update the packages.
     $ sudo apt-get update
 
+    # Install a few utility tools.
+    $ sudo apt-get install -y tar wget git
+
     # Install the latest OpenJDK.
     $ sudo apt-get install -y openjdk-7-jdk
 
@@ -52,7 +57,7 @@ Following are the instructions for stock Mac OS X Yosemite and El Capitan. If yo
     $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
     # Install libraries.
-    $ brew install autoconf automake libtool subversion maven
+    $ brew install wget git autoconf automake libtool subversion maven
 
 *NOTE: When upgrading from Yosemite to El Capitan, make sure to rerun `xcode-select --install` after the upgrade.*
 
@@ -71,7 +76,7 @@ Following are the instructions for stock CentOS 6.6. If you are using a differen
 
     # Install a few utility tools. This also forces an update of `nss`,
     # which is necessary for the Java bindings to build properly.
-    $ sudo yum install -y tar wget which nss
+    $ sudo yum install -y tar wget git which nss
 
     # 'Mesos > 0.21.0' requires a C++ compiler with full C++11 support,
     # (e.g. GCC > 4.8) which is available via 'devtoolset-2'.
@@ -114,7 +119,7 @@ Following are the instructions for stock CentOS 6.6. If you are using a differen
 Following are the instructions for stock CentOS 7.1. If you are using a different OS, please install the packages accordingly.
 
     # Install a few utility tools
-    $ sudo yum install -y tar wget
+    $ sudo yum install -y tar wget git
 
     # Fetch the Apache Maven repo file.
     $ sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo