Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B5F11108A for ; Tue, 22 Apr 2014 18:36:52 +0000 (UTC) Received: (qmail 32955 invoked by uid 500); 22 Apr 2014 18:36:52 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 32919 invoked by uid 500); 22 Apr 2014 18:36:51 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 32908 invoked by uid 99); 22 Apr 2014 18:36:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 18:36:51 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 22 Apr 2014 18:36:46 +0000 Received: (qmail 31707 invoked by uid 99); 22 Apr 2014 18:36:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 18:36:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 62DB98C29F8; Tue, 22 Apr 2014 18:36:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: wfarner@apache.org To: commits@aurora.incubator.apache.org Message-Id: <0c56b3e348e74c7198d3f94d4aae1e76@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Optionally use system-installed thrift in build.gradle, use this in vagrant devcluster. Date: Tue, 22 Apr 2014 18:36:22 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-aurora Updated Branches: refs/heads/master 88d25ed94 -> 22ad73672 Optionally use system-installed thrift in build.gradle, use this in vagrant devcluster. Bugs closed: AURORA-299 Reviewed at https://reviews.apache.org/r/20238/ Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/22ad7367 Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/22ad7367 Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/22ad7367 Branch: refs/heads/master Commit: 22ad73672bbb5cb66456b3b36c018678ae54280a Parents: 88d25ed Author: Bill Farner Authored: Tue Apr 22 11:00:49 2014 -0700 Committer: Bill Farner Committed: Tue Apr 22 11:00:49 2014 -0700 ---------------------------------------------------------------------- docs/tutorial.md | 4 ++-- examples/vagrant/provision-dev-cluster.sh | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/22ad7367/docs/tutorial.md ---------------------------------------------------------------------- diff --git a/docs/tutorial.md b/docs/tutorial.md index 64981a7..1e7f34c 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -145,7 +145,7 @@ identical, the job keys identify the same job. cluster names. For Vagrant, from the top-level of your Aurora repository clone, do: - $ vagrant ssh devcluster + $ vagrant ssh Followed by: @@ -180,7 +180,7 @@ Or for our example: This returns: - $ vagrant ssh devcluster + $ vagrant ssh Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/22ad7367/examples/vagrant/provision-dev-cluster.sh ---------------------------------------------------------------------- diff --git a/examples/vagrant/provision-dev-cluster.sh b/examples/vagrant/provision-dev-cluster.sh index ec95543..2b2ab0d 100755 --- a/examples/vagrant/provision-dev-cluster.sh +++ b/examples/vagrant/provision-dev-cluster.sh @@ -17,14 +17,10 @@ apt-get update apt-get -y install \ - automake \ curl \ git \ - g++ \ libcurl4-openssl-dev \ libsasl2-dev \ - libtool \ - make \ openjdk-7-jdk \ python-dev \ zookeeper @@ -43,6 +39,7 @@ function build_all() { fi pushd aurora + # fetch the mesos egg, needed to build python components mkdir -p third_party pushd third_party wget -c http://downloads.mesosphere.io/master/ubuntu/12.04/mesos_0.17.0_amd64.egg \ @@ -50,6 +47,12 @@ function build_all() { popd git pull + # install thrift, needed for code generation in the scheduler build + # TODO(wfarner): Move deb file out of jfarrell's individual hosting. + thrift_deb=thrift-compiler_0.9.1_amd64.deb + wget -c http://people.apache.org/~jfarrell/thrift/0.9.1/contrib/deb/ubuntu/12.04/$thrift_deb + dpkg --install $thrift_deb + # build scheduler ./gradlew installApp @@ -76,12 +79,12 @@ EOF sudo chown -R vagrant:vagrant aurora } -function install_mesos() { +function install_mesos { wget -c http://downloads.mesosphere.io/master/ubuntu/12.04/mesos_0.17.0_amd64.deb dpkg --install mesos_0.17.0_amd64.deb } -function install_aurora() { +function install_aurora { # The bulk of the 'install' was done by the build, the result of which we access # through /home/vagrant. DIST_DIR=/home/vagrant/aurora/dist @@ -113,7 +116,7 @@ function install_aurora() { EOF } -function start_services() { +function start_services { cp /vagrant/examples/vagrant/upstart/*.conf /etc/init start zookeeper