Repository: bigtop
Updated Branches:
  refs/heads/BIGTOP-2320 004997913 -> b06b8bab0


BIGTOP-2321. Add packaging code for HAWQ

/usr/bin/hawq script isn't needed, it seems
Otherwise all ssh crap will start flowing back


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

Branch: refs/heads/BIGTOP-2320
Commit: ea6353894d5b5ca6169759ad362c2264b821867a
Parents: 0049979
Author: Cos <[email protected]>
Authored: Fri Mar 11 14:44:14 2016 -0600
Committer: Cos <[email protected]>
Committed: Fri Mar 11 14:44:14 2016 -0600

----------------------------------------------------------------------
 bigtop-packages/src/common/hawq/install_hawq.sh | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/ea635389/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 8dcba50..c12f924 100755
--- a/bigtop-packages/src/common/hawq/install_hawq.sh
+++ b/bigtop-packages/src/common/hawq/install_hawq.sh
@@ -147,19 +147,6 @@ bash -x /usr/lib/hawq/bin/lib/hawqinit.sh $* $HAWQ_HOME
 EOF
 chmod 755 $wrapper
 
-wrapper=$PREFIX/usr/bin/hawq
-mkdir -p `dirname $wrapper`
-cat > $wrapper <<EOF
-#!/bin/bash
-
-BIGTOP_DEFAULTS_DIR=\${BIGTOP_DEFAULTS_DIR-/etc/default}
-[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hadoop ] && . 
\${BIGTOP_DEFAULTS_DIR}/hadoop
-[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hawq ] && .  
\${BIGTOP_DEFAULTS_DIR}/hawq
-
-exec /usr/lib/hawq/bin/hawq \$@
-EOF
-chmod 755 $wrapper
-
 install -d -m 0755 $PREFIX/usr/bin
 
 install -d -m 0755 $PREFIX/$LIB_DIR/pxf

Reply via email to