Repository: bigtop Updated Branches: refs/heads/BIGTOP-2320 c3cfe06e5 -> 004997913
BIGTOP-2321. Add packaging code for HAWQ Looks like the name substitute isn't required anymore, as the link for greenplum.sh is created Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/c7e5ec8f Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/c7e5ec8f Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/c7e5ec8f Branch: refs/heads/BIGTOP-2320 Commit: c7e5ec8ffa334993e1f1a452fcac498a81846576 Parents: c3cfe06 Author: Cos <[email protected]> Authored: Thu Mar 10 16:52:48 2016 -0600 Committer: Cos <[email protected]> Committed: Thu Mar 10 16:52:48 2016 -0600 ---------------------------------------------------------------------- bigtop-packages/src/common/hawq/install_hawq.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/c7e5ec8f/bigtop-packages/src/common/hawq/install_hawq.sh ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hawq/install_hawq.sh b/bigtop-packages/src/common/hawq/install_hawq.sh index a094e62..8dcba50 100755 --- a/bigtop-packages/src/common/hawq/install_hawq.sh +++ b/bigtop-packages/src/common/hawq/install_hawq.sh @@ -126,12 +126,12 @@ cp -ar $UNZIP_DIR/docs $PREFIX/$DOC_DIR cp -ar $UNZIP_DIR/../libyarn/* $PREFIX/$LIB_DIR -sed -i -e 's#source %s/greenplum_path.sh" % hawq_home#source /etc/default/hawq#' $PREFIX/$BIN_DIR/hawq +#sed -i -e 's#source %s/greenplum_path.sh" % hawq_home#source /etc/default/hawq#' $PREFIX/$BIN_DIR/hawq ln -s $ETC_DIR/conf $PREFIX/$LIB_DIR/config ## HAWQ-422 configs are expected to sit in this hardcoded locations ;( ln -s $ETC_DIR/conf $PREFIX/$LIB_DIR/etc # HAWQ-421 -ln -s $ETC_DIR/default/hawq $PREFIX/$LIB_DIR/greenplum_path.sh +ln -s /etc/default/hawq $PREFIX/$LIB_DIR/greenplum_path.sh ## Put a wrapper to source the defaults and then run init script for particular object wrapper=$PREFIX/usr/lib/hawq/bin/lib/run-init.sh
