Return-Path: X-Original-To: apmail-bigtop-commits-archive@www.apache.org Delivered-To: apmail-bigtop-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17C3718772 for ; Thu, 25 Feb 2016 03:56:06 +0000 (UTC) Received: (qmail 32251 invoked by uid 500); 25 Feb 2016 03:56:05 -0000 Delivered-To: apmail-bigtop-commits-archive@bigtop.apache.org Received: (qmail 31006 invoked by uid 500); 25 Feb 2016 03:56:04 -0000 Mailing-List: contact commits-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@bigtop.apache.org Delivered-To: mailing list commits@bigtop.apache.org Received: (qmail 30978 invoked by uid 99); 25 Feb 2016 03:56:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2016 03:56:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8CF9AE8ECF; Thu, 25 Feb 2016 03:56:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cos@apache.org To: commits@bigtop.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: bigtop git commit: BIGTOP-2325. Fixing some typos in the dependency names; adding pychecked dep. instead of pip-based install Date: Thu, 25 Feb 2016 03:56:04 +0000 (UTC) Repository: bigtop Updated Branches: refs/heads/BIGTOP-2320 e2828869c -> 62be19376 BIGTOP-2325. Fixing some typos in the dependency names; adding pychecked dep. instead of pip-based install Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/62be1937 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/62be1937 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/62be1937 Branch: refs/heads/BIGTOP-2320 Commit: 62be19376b905829d0277fd91db9324652b60be3 Parents: e282886 Author: Konstantin Boudnik Authored: Wed Feb 24 19:55:18 2016 -0800 Committer: Konstantin Boudnik Committed: Wed Feb 24 19:55:18 2016 -0800 ---------------------------------------------------------------------- .../puppet/modules/hawq/manifests/init.pp | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/62be1937/bigtop-deploy/puppet/modules/hawq/manifests/init.pp ---------------------------------------------------------------------- diff --git a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp index bafb7a2..8ba6adb 100644 --- a/bigtop-deploy/puppet/modules/hawq/manifests/init.pp +++ b/bigtop-deploy/puppet/modules/hawq/manifests/init.pp @@ -30,6 +30,7 @@ class hawq { package { "hawq": ensure => latest, + require => Package["libhdfs3-devel"], ## require => for centos this crap needs epel-release } @@ -69,17 +70,12 @@ class hawq { exec { "install pygresql modules1": path => ['/usr/bin'], command => 'pip --retries=50 --timeout=300 install pg8000 simplejson unittest2 pycrypto pygresql pyyaml lockfile paramiko psi', - require => [ Package['python-pip'] ], + require => [ Package['python-pip', 'postgresql-devel'] ], } exec { "install pygresql modules2": path => ['/usr/bin'], command => 'pip --retries=50 --timeout=300 install http://darcs.idyll.org/~t/projects/figleaf-0.6.1.tar.gz', - require => [ Package['python-pip'], Exec ['install pygresql modules1'] ], - } - exec { "install pygresql modules3": - path => ['/usr/bin'], - command => 'pip --retries=50 --timeout=300 install http://sourceforge.net/projects/pychecker/files/pychecker/0.8.19/pychecker-0.8.19.tar.gz/download', - require => [ Package['python-pip'], Exec ['install pygresql modules2'] ], + require => [ Package['python-pip', 'pychecker'], Exec ['install pygresql modules1'] ], ## HAWQ install instructions are suggesting to ## uninstall postgresql postgresql-libs postgresql-devel at this point ## but I don't think it matter, and for sure looks ugly @@ -88,16 +84,22 @@ class hawq { package { "python-pip": ensure => latest, } - package { "postgresql": + package { "pychecker": ensure => latest, } + package { "postgresql-devel": + ensure => latest, + } + package { "libhdfs3-devel": + ensure => latest, + } ### TODO init require hdfs to be running. Need to test this exec { "hawk init": path => ['/usr/bin'], # Silly init will ask if I am really sure I want to init the cluster command => 'echo y | bash -x /usr/bin/hawq init cluster', - require => [ Package['hawq', 'python-pip', 'postgresql'], Exec ['install pygresql modules3'] ], + require => [ Package['hawq'], Exec ['install pygresql modules2'] ], } ### TODO The expectation is that init will start the service. I don't think so...