You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2016/02/11 19:09:31 UTC

bigtop git commit: BIGTOP-2321. Fixing /etc/default/hawq [Forced Update!]

Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 ea5f45754 -> ef1e8837f (forced update)


BIGTOP-2321. Fixing /etc/default/hawq


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

Branch: refs/heads/BIGTOP-2320
Commit: ef1e8837fff3223ba4ab3fbc5ab8eadd306bce9b
Parents: f67c51f
Author: Konstantin Boudnik <co...@apache.org>
Authored: Thu Feb 11 21:08:14 2016 +0300
Committer: Konstantin Boudnik <co...@apache.org>
Committed: Thu Feb 11 21:09:17 2016 +0300

----------------------------------------------------------------------
 bigtop-packages/src/common/hawq/hawq.default |  8 ++++++++
 bigtop-packages/src/common/hawq/run-build.sh | 23 -----------------------
 2 files changed, 8 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/ef1e8837/bigtop-packages/src/common/hawq/hawq.default
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hawq/hawq.default b/bigtop-packages/src/common/hawq/hawq.default
index 97c46df..f8cf6e1 100644
--- a/bigtop-packages/src/common/hawq/hawq.default
+++ b/bigtop-packages/src/common/hawq/hawq.default
@@ -20,3 +20,11 @@ export HAWQ_PID_DIR="/var/run/hawq"
 export HAWQ_LOG_DIR="/var/log/hawq"
 export HAWQ_WORK_DIR="/var/run/hawq/work"
 export HAWQ_IDENT_STRING=hawq
+
+export PATH=$HAWQ_HOME/bin:$HAWQ_HOME/ext/python/bin:$PATH
+export LD_LIBRARY_PATH=$HAWQ_HOME/lib:$HAWQ_HOME/ext/python/lib:$LD_LIBRARY_PATH
+export PYTHONPATH=$HAWQ_HOME/lib/python:$HAWQ_HOME/lib/python/pygresql:$PYTHONPATH
+export OPENSSL_CONF=$HAWQ_CONF_DIR/openssl.cnf
+export LIBHDFS3_CONF=$HAWQ_CONF_DIR/hdfs-client.xml
+export LIBYARN_CONF=$HAWQ_CONF_DIR/yarn-client.xml
+export HAWQSITE_CONF=$HAWQ_CONF_DIR/hawq-site.xml

http://git-wip-us.apache.org/repos/asf/bigtop/blob/ef1e8837/bigtop-packages/src/common/hawq/run-build.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hawq/run-build.sh b/bigtop-packages/src/common/hawq/run-build.sh
deleted file mode 100755
index 5617702..0000000
--- a/bigtop-packages/src/common/hawq/run-build.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-
-docker run --rm=true -v `pwd`:/data -u root rlei/mydocker:latest /bin/sh -c "date; \
-cd /data/hawq-src/ ; \
-./configure --prefix=/data/hawq ; \
-if [ $? != 0 ]; then
-    echo HAWQ configure failed.
-    exit 1
-fi
-date; \
-make -f Makefile.hawq-j8; \
-if [ $? != 0 ]; then
-    echo HAWQ compile failed.
-    exit 1
-fi
-date; \
-make -f Makefile.hawq install ; \
-if [ $? != 0 ]; then
-    echo HAWQ make install failed.
-    exit 1
-fi
-date; \
-"