trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sure...@apache.org
Subject [6/8] incubator-trafodion git commit: [TRAFODION-2644] Obsolete bash installer
Date Sat, 24 Jun 2017 00:11:48 GMT
[TRAFODION-2644] Obsolete bash installer


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

Branch: refs/heads/master
Commit: 544599523f16ed9669787e51badb578aa67dd987
Parents: 5ea4af2
Author: Steve Varnau <steve.varnau@esgyn.com>
Authored: Tue Jun 20 23:02:07 2017 +0000
Committer: Steve Varnau <steve.varnau@esgyn.com>
Committed: Tue Jun 20 23:02:07 2017 +0000

----------------------------------------------------------------------
 install/Makefile                                |   19 +-
 install/README.md                               |    7 +-
 install/installer/acceptKeys                    |   61 -
 install/installer/addNode_packages              |   89 --
 install/installer/addNode_reservePorts          |   81 --
 install/installer/addNode_step1                 |  273 -----
 install/installer/addNode_step2                 |  429 -------
 install/installer/bashrc_default                |   87 --
 install/installer/checkHBase                    |   37 -
 install/installer/checkJava.py                  |   66 -
 install/installer/cloud_cli_setup               |   89 --
 install/installer/dcs_installer                 |  219 ----
 install/installer/getNodes.py                   |   47 -
 install/installer/parseHBaseSite.py             |   61 -
 install/installer/rest_installer                |  115 --
 install/installer/setup_known_hosts.exp         |   35 -
 install/installer/setup_ssh_key                 |   27 -
 install/installer/sqconfig_persist.txt          |   87 --
 install/installer/tools/ambari_setup            |  119 --
 install/installer/tools/clouderaMoveDB.sh       |  191 ---
 install/installer/tools/cloudera_setup          |  198 ---
 install/installer/tools/cloudera_uninstall      |  155 ---
 install/installer/tools/hortonworks_uninstall   |  154 ---
 install/installer/tools/mapr_uninstall          |  131 --
 install/installer/tools/traf_cloudera_uninstall |  148 ---
 .../tools/traf_cloudera_uninstall_suse          |  149 ---
 .../installer/tools/traf_hortonworks_uninstall  |  233 ----
 .../tools/traf_hortonworks_uninstall_suse       |  232 ----
 install/installer/tools/traf_mapr_uninstall     |   49 -
 install/installer/tools/trafodion_scanner       |  525 --------
 install/installer/tools/trafodion_scanner.cfg   |  194 ---
 install/installer/traf_add_kerberos             |  204 ---
 install/installer/traf_add_ldap                 |   98 --
 install/installer/traf_add_sudoAccess           |   85 --
 install/installer/traf_add_user                 |  217 ----
 install/installer/traf_apache_mods              |  259 ----
 .../installer/traf_authentication_conf_default  |   71 --
 install/installer/traf_cloudera_mods            |  428 -------
 install/installer/traf_config                   |  207 ----
 install/installer/traf_config_check             | 1158 ------------------
 install/installer/traf_config_setup             |  816 ------------
 install/installer/traf_createPasswordLessSSH    |   63 -
 install/installer/traf_getHadoopNodes           |  252 ----
 install/installer/traf_getMultiHadoopNodes      |  145 ---
 install/installer/traf_hortonworks_mods         |  625 ----------
 install/installer/traf_package_setup            |  202 ---
 install/installer/traf_secure                   |   60 -
 install/installer/traf_secure_setup             |  345 ------
 install/installer/traf_setup                    |  134 --
 install/installer/traf_sqconfig                 |   84 --
 install/installer/traf_sqgen                    |   75 --
 install/installer/traf_start                    |   75 --
 install/installer/traf_user_prompt              |   28 -
 install/installer/traf_user_prompt_check        |   27 -
 install/installer/trafodion_config_default      |  191 ---
 install/installer/trafodion_install             |  833 -------------
 install/installer/trafodion_license             |  205 ----
 install/installer/trafodion_secure_install      |  129 --
 install/installer/trafodion_uninstaller         |  154 ---
 59 files changed, 3 insertions(+), 11474 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/Makefile
----------------------------------------------------------------------
diff --git a/install/Makefile b/install/Makefile
index 5dc7048..c131f58 100644
--- a/install/Makefile
+++ b/install/Makefile
@@ -16,10 +16,9 @@
 # @@@ END COPYRIGHT @@@
 RELEASE_VER ?= ${TRAFODION_VER}-incubating
 RELEASE_TYPE ?= $(shell echo $(TRAFODION_VER_PROD)| sed -e 's/ /-/g')
-INSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_installer-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
 PYINSTALLER_TARNAME = $(shell echo ${RELEASE_TYPE}_pyinstaller-${RELEASE_VER}.tar.gz |tr '[A-Z]' '[a-z]')
 
-all: pkg-installer pkg-pyinstaller pkg-ambari
+all: pkg-pyinstaller pkg-ambari
 
 pkg-ambari:
 	cd ambari-installer && $(MAKE) all
@@ -31,22 +30,6 @@ pkg-pyinstaller: create-dir python-installer/LICENSE python-installer/NOTICE pyt
 	tar czf ${PYINSTALLER_TARNAME} python-installer
 	mv ${PYINSTALLER_TARNAME} ../distribution
 
-pkg-installer: create-dir installer/LICENSE installer/NOTICE installer/DISCLAIMER
-	tar czf ${INSTALLER_TARNAME} installer --exclude=tools
-	mv ${INSTALLER_TARNAME} ../distribution
-
-../licenses/LICENSE-install:
-	cd $(@D) && $(MAKE) $(@F)
-
-installer/LICENSE: ../licenses/LICENSE-install
-	cp -f $? $@
-
-installer/NOTICE: ../NOTICE
-	cp -f $? $@
-
-installer/DISCLAIMER: ../DISCLAIMER
-	cp -f $? $@
-
 ../licenses/LICENSE-pyinstall:
 	cd $(@D) && $(MAKE) $(@F)
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/README.md
----------------------------------------------------------------------
diff --git a/install/README.md b/install/README.md
index f91035d..99f2c83 100644
--- a/install/README.md
+++ b/install/README.md
@@ -23,11 +23,8 @@
 
 ## Trafodion Installers
 
-* **install** - This is the current command-line installer. It installs a server tarball
-  on an existing CDH or HDP Hadoop cluster.
-* **python-installer** - This is the new command-line installer, meant to replace current
-  command-line installer. Likewise, installs server tarball on existing CDH, HDP,
-  or APACHE cluster.
+* **python-installer** - This is the command-line installer.
+  Installs server tarball on existing CDH, HDP, or APACHE cluster.
 * **ambari-installer** - This integrates with Ambari cluster manager, so only applies to HDP.
   In this case, trafodion server is installed via RPM. This is installed on Ambari server as
   a management pack. Trafodion can be included in the initial cluster creation or added later.

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/acceptKeys
----------------------------------------------------------------------
diff --git a/install/installer/acceptKeys b/install/installer/acceptKeys
deleted file mode 100755
index 38a6625..0000000
--- a/install/installer/acceptKeys
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-export NODES=""
-
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --nodes)
-            NODES=$2
-            shift
-            ;;
-        *)
-            echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-
-
-
-for node in $NODES
-do
-    ssh -q -oStrictHostKeyChecking=no $node hostname
-    ssh -q -oStrictHostKeyChecking=no localhost hostname
-    if [ $? -ne 0 ]; then
-        echo "***ERROR: Unable to ssh to node $node"
-        exit -1
-    fi
-
-    for nodes in $NODES
-    do
-       ssh -q -oStrictHostKeyChecking=no $node ssh -q -oStrictHostKeyChecking=no $nodes hostname
-       if [ $? -ne 0 ]; then
-          echo "***ERROR: Unable to ssh to node $node"
-          exit -1
-       fi
-    done
-done
-
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/addNode_packages
----------------------------------------------------------------------
diff --git a/install/installer/addNode_packages b/install/installer/addNode_packages
deleted file mode 100755
index dc777d1..0000000
--- a/install/installer/addNode_packages
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/bash
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-#==============================================
-
-timestamp=$(date +%F-%H-%M-%S)
-export TRAF_CONFIG="/etc/trafodion/trafodion_config"
-source $TRAF_CONFIG
-
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --nodes)
-            MY_NEW_NODES=""
-            NEW_NODES="$2"
-
-            for node in $NEW_NODES
-            do
-                MY_NEW_NODES="$MY_NEW_NODES -w $node"
-            done
-
-            export PDSH_SSH_CMD="ssh -q -n %h"
-
-            export TRAF_NEW_PDSH="pdsh -R exec $MY_NEW_NODES $PDSH_SSH_CMD"
-            export TRAF_NEW_PDCP="pdcp -R ssh $MY_NEW_NODES"
-            shift
-            ;;
-        *)
-            echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-
-#========================================
-echo "***INFO: Installing required packages"
-echo "***INFO: Log file location $PWD"
-
-YUM_LOG=$PWD/trafodion_yum_$timestamp.log
-
-#===============================
-
-$TRAF_NEW_PDSH sudo yum --assumeyes install epel-release >> $YUM_LOG
-$TRAF_NEW_PDSH sudo yum --assumeyes install pdsh >> $YUM_LOG
-
-if [ $? != 0 ]; then
-   echo "***ERROR: Can't install pdsh on $NEW_NODES"
-   exit -1
-fi
-
-package_list="apr apr-util sqlite expect perl-DBD-SQLite* protobuf xerces-c perl-Params-Validate perl-Time-HiRes gzip lzo lzop unzip unixODBC libiodbc libiodbc-devel openldap-clients snappy lsof gnuplot"
-
-for package in $package_list
-do
-   echo "***INFO: Checking if $package is installed ..."
-   for node in $NEW_NODES
-   do
-      installed=`ssh -q -n $node sudo rpm -qa | grep $package | wc -l`
-      if [[ $installed -eq "0" ]]; then
-         echo "***INFO: Installing $package on all nodes"
-         ssh -q -n $node sudo yum --assumeyes install $package 2>> $YUM_LOG >> $YUM_LOG
-         if [ $? != 0 ]; then
-            echo "***ERROR: Can't install $package"
-            exit -1
-         fi
-      fi
-    done
-done

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/addNode_reservePorts
----------------------------------------------------------------------
diff --git a/install/installer/addNode_reservePorts b/install/installer/addNode_reservePorts
deleted file mode 100755
index bde0826..0000000
--- a/install/installer/addNode_reservePorts
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/bash
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-#==============================================
-
-timestamp=$(date +%F-%H-%M-%S)
-export TRAF_CONFIG="/etc/trafodion/trafodion_config"
-source $TRAF_CONFIG
-
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --nodes)
-            MY_NEW_NODES=""
-            NEW_NODES="$2"
-
-            for node in $NEW_NODES
-            do
-                MY_NEW_NODES="$MY_NEW_NODES -w $node"
-            done
-
-            export PDSH_SSH_CMD="ssh -q -n %h"
-
-            export TRAF_NEW_PDSH="pdsh -R exec $MY_NEW_NODES $PDSH_SSH_CMD"
-            export TRAF_NEW_PDCP="pdcp -R ssh $MY_NEW_NODES"
-            shift
-            ;;
-        *)
-            echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-
-#========================================
-echo "***INFO: Reserving DCS ports"
-trafodion_ports=${DCS_MASTER_PORT:-23400},${DCS_MASTER_INFO_PORT:-24400}
-reservedTrafodionPorts="net.ipv4.ip_local_reserved_ports = ${trafodion_ports}"
-
-for node in $NEW_NODES
-do
-   redhatSystem=$(ssh -q -n $node '/sbin/sysctl net.ipv4.ip_local_reserved_ports | wc -l')
-   if [[ "$redhatSystem" -ge "1" ]]; then
-      reserved_ports=$(ssh -q -n $node '/sbin/sysctl net.ipv4.ip_local_reserved_ports' | awk -F'=' '{print $2;}' | sed 's/^ //')
-      ssh -q -n $node 'sudo chmod 777 /etc/sysctl.conf' 2>&1 > /dev/null
-      ssh -q -n $node 'sudo sed -i '/net.ipv4.ip_local_reserved_ports""\=*/d' /etc/sysctl.conf' 2>&1 > /dev/null
-
-   if [[ -z "${reserved_ports}" ]]; then
-      ssh -q -n $node "sudo echo "$reservedTrafodionPorts" >> /etc/sysctl.conf" 2>&1 > /dev/null
-   else
-      ssh -q -n $node "sudo echo "$reservedTrafodionPorts","$reserved_ports" >> /etc/sysctl.conf" 2>&1 > /dev/null
-   fi
-   ssh -q -n $node 'sudo chmod 644 /etc/sysctl.conf' 2>&1 > /dev/null
-   ssh -q -n $node 'sudo /sbin/sysctl -p' 2>&1 > /dev/null
-   else
-      echo "***ERROR: Unable to reserve DCS ports (${trafodion_ports})."
-      exit -1
-   fi
-done
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/addNode_step1
----------------------------------------------------------------------
diff --git a/install/installer/addNode_step1 b/install/installer/addNode_step1
deleted file mode 100755
index 66e6209..0000000
--- a/install/installer/addNode_step1
+++ /dev/null
@@ -1,273 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-export TRAF_CONFIG="/etc/trafodion/trafodion_config"
-export NODES=""
-
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --nodes)
-            NODES=$2
-            shift
-            ;;
-        *)
-            echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-
-source $TRAF_CONFIG
-
-function checkForHA {
-
-source $TRAF_CONFIG
-
-if [[ $ENALBE_HA == "true" ]]; then
-   echo -n "Enter extra backup nodes for HA (if needed): "
-   read answer
-
-   if [[ -z "$answer" ]]; then
-      echo "***INFO: Didn't enter any extra backup nodes, that's okay, but remember that!"
-   else
-      NEW_BACKUP_DCS_NODES="$answer"
-      for node in $NEW_BACKUP_DCS_NODES
-      do
-          BACKUP_DCS_NODES="$BACKUP_DCS_NODES $node"
-      done
-      sudo chmod 777 $TRAF_CONFIG
-      sed -i '/\<NEW_BACKUP_DCS_NODES\>/d' $TRAF_CONFIG
-      echo "export NEW_BACKUP_DCS_NODES=\"$NEW_BACKUP_DCS_NODES\"" >> $TRAF_CONFIG
-      sudo chmod 777 $TRAF_CONFIG
-      sed -i '/\<BACKUP_DCS_NODES\>/d' $TRAF_CONFIG
-      echo "export BACKUP_DCS_NODES=\"$BACKUP_DCS_NODES\"" >> $TRAF_CONFIG
-      sudo chmod 777 $TRAF_CONFIG
-   fi
-
-fi
-
-}
-
-
-function addNewNodesConfig {
-
-source $TRAF_CONFIG
-
-MY_NEW_NODES=""
-NEW_NODES=""
-
-for node in $NODES
-do
-   newNode=$(ssh -q -n $node hostname)
-   if [[ $? -ne "0" ]]; then
-      echo "***ERROR: UNABLE TO SSH to node $node"
-      echo "***ERROR: Passwordless ssh must be set up!"
-      exit -1
-   fi
-   NEW_NODES="$NEW_NODES $newNode"
-
-done
-
-for node in $NEW_NODES
-do
-   MY_NEW_NODES="$MY_NEW_NODES -w $node"
-done
-
-
-echo $MY_NEW_NODES
-
-export PDSH_SSH_CMD="ssh -q -n %h"
-
-export TRAF_NEW_PDSH="pdsh -R exec $MY_NEW_NODES $PDSH_SSH_CMD"
-export TRAF_NEW_PDCP="pdcp -R ssh $MY_NEW_NODES"
-
-
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/NEW_NODES\=/d' $TRAF_CONFIG
-echo "export NEW_NODES=\"$NEW_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/MY_NEW_NODES\=/d' $TRAF_CONFIG
-echo "export MY_NEW_NODES=\"$MY_NEW_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/TRAF_NEW_PDSH\=/d' $TRAF_CONFIG
-echo "export TRAF_NEW_PDSH=\"$TRAF_NEW_PDSH\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/TRAF_NEW_PDCP\=/d' $TRAF_CONFIG
-echo "export TRAF_NEW_PDCP=\"$TRAF_NEW_PDCP\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-}
-
-function copyHBaseTrx {
-
-source $TRAF_CONFIG
-
-cp $HADOOP_PATH/hbase-trx* $PWD
-cp $HADOOP_PATH/trafodion-utility* $PWD
-
-$TRAF_NEW_PDCP $PWD/hbase-trx* $HOME
-$TRAF_NEW_PDCP $PWD/trafodion-utility* $HOME
-
-$TRAF_NEW_PDSH sudo cp $HOME/hbase-trx* $HADOOP_PATH
-$TRAF_NEW_PDSH sudo cp $HOME/trafodion-utility* $HADOOP_PATH
-
-$TRAF_NEW_PDSH sudo chmod 644 $HADOOP_PATH/hbase-trx*
-$TRAF_NEW_PDSH sudo chmod 644 $HADOOP_PATH/trafodion-utility*
-
-}
-
-function createNewNodes {
-
-source $TRAF_CONFIG
-
-for node in $NEW_NODES
-do
-  if [[ ! $NODE_LIST  =~ .*$node.* ]]; then
-     NODE_LIST="$NODE_LIST $node"
-     MY_NODES="$MY_NODES -w $node"
-     ALL_NODE_LIST="$ALL_NODE_LIST $node"
-     ALL_NODES="$ALL_NODES -w $node"
-     HADOOP_NODES="$HADOOP_NODES $node"
-     MY_HADOOP_NODES="$MY_HADOOP_NODES -w $node"
-     HDFS_NODES="$HDFS_NODES $node"
-     MY_HDFS_NODES="$MY_HDFS_NODES -w $node"
-     HBASE_NODES="$HBASE_NODES $node"
-     MY_HBASE_NODES="$MY_HBASE_NODES -w $node"
-  fi
-done
-
-hadoop_node_count=$(echo $HADOOP_NODES | wc -w)
-export TRAF_PDSH="pdsh -R exec $ALL_NODES $PDSH_SSH_CMD"
-export TRAF_PDCP="pdcp -R ssh $ALL_NODES"
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/TRAF_PDSH\=/d' $TRAF_CONFIG
-echo "export TRAF_PDSH=\"$TRAF_PDSH\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/TRAF_PDCP\=/d' $TRAF_CONFIG
-echo "export TRAF_PDCP=\"$TRAF_PDCP\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/HADOOP_NODES\=/d' $TRAF_CONFIG
-echo "export HADOOP_NODES=\"$HADOOP_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/MY_HADOOP_NODES\=/d' $TRAF_CONFIG
-echo "export MY_HADOOP_NODES=\"$MY_HADOOP_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/HDFS_NODES\=/d' $TRAF_CONFIG
-echo "export HDFS_NODES=\"$HDFS_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/MY_HDFS_NODES\=/d' $TRAF_CONFIG
-echo "export MY_HDFS_NODES=\"$MY_HDFS_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/HBASE_NODES\=/d' $TRAF_CONFIG
-echo "export HBASE_NODES=\"$HBASE_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/MY_HBASE_NODES\=/d' $TRAF_CONFIG
-echo "export MY_HBASE_NODES=\"$MY_HBASE_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/ALL_NODES\=/d' $TRAF_CONFIG
-echo "export ALL_NODES=\"$ALL_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/ALL_NODE_LIST\=/d' $TRAF_CONFIG
-echo "export ALL_NODE_LIST=\"$ALL_NODE_LIST\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/MY_NODES\=/d' $TRAF_CONFIG
-echo "export MY_NODES=\"$MY_NODES\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/NODE_LIST\=/d' $TRAF_CONFIG
-echo "export NODE_LIST=\"$NODE_LIST\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-sed -i '/hadoop_node_count\=/d' $TRAF_CONFIG
-echo "export hadoop_node_count=\"$hadoop_node_count\"" >> $TRAF_CONFIG
-sudo chmod 777 $TRAF_CONFIG
-
-}
-
-function createConfigDir {
-
-$TRAF_NEW_PDSH sudo mkdir -p /etc/trafodion
-
-}
-
-function copyConfig {
-
-source $TRAF_CONFIG
-
-cp $TRAF_CONFIG $PWD
-$TRAF_PDCP $PWD/trafodion_config $HOME
-$TRAF_PDSH sudo cp $HOME/trafodion_config /etc/trafodion/
-$TRAF_PDSH sudo chmod 777 $TRAF_CONFIG
-
-}
-
-function checkHBaseTrx {
-
-source $TRAF_CONFIG
-
-for node in $HBASE_NODES
-do
-   copiedOver=$(ssh -q -n $node sudo ls $HADOOP_PATH/hbase-trx* | wc -l)
-   if [[ $copiedOver -ne "1" ]]; then
-      echo "***ERROR: $hbase_trx_jar was not copied on $node"
-      echo "***ERROR: Please investigate why this happened"
-      echo "***ERROR: Trafodion can not start without this. EXITING..."
-      exit -1
-   fi
-done
-
-echo "***INFO: hbase-trx file copied correctly! Huzzah."
-
-}
-
-function cleanUp {
-
-$TRAF_NEW_PDSH rm -rf $HOME/hbase-trx*
-$TRAF_NEW_PDSH rm -rf trafodion_config
-$TRAF_NEW_PDSH rm -rf trafodion-util*
-
-}
-
-
-function printMessage {
-
-source $TRAF_CONFIG
-echo
-echo "***IMPORTANT: Go restart HBase on new nodes"
-echo "***IMPORTANT: Wait until that is done... then..."
-echo "***IMPORTANT: Ready to run addNode_step2"
-echo
-
-}
-
-
-#Main
-
-checkForHA
-addNewNodesConfig
-copyHBaseTrx
-createNewNodes
-createConfigDir
-copyConfig
-checkHBaseTrx
-cleanUp
-printMessage
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/addNode_step2
----------------------------------------------------------------------
diff --git a/install/installer/addNode_step2 b/install/installer/addNode_step2
deleted file mode 100755
index 58df373..0000000
--- a/install/installer/addNode_step2
+++ /dev/null
@@ -1,429 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-export TRAF_CONFIG="/etc/trafodion/trafodion_config"
-source $TRAF_CONFIG
-
-function installPackages {
-
-source $TRAF_CONFIG
-
-if [[ "$SUSE_LINUX" == "true" ]]; then
-   echo
-   echo "***WARNING: All needed RPM's must be installed in advance to install Trafodion on SUSE."
-   echo "***WARNING: pdsh apr apr-util sqlite expect perl-DBD-SQLite* xerces-c perl-Params-Validate perl-Time-HiRes gzip lzo lzop unzip unixODBC libiodbc libiodbc-devel openldap-clients snappy"
-   echo "***WARNING: If any of these packages have not been installed. Stop Trafodion installation and install."
-   echo
-   sleep 10
-else
-   $PWD/addNode_packages
-   if [[ "$?" -ne "0" ]]; then
-      echo "***ERROR: Packages were not installed."
-      echo "***ERROR: Review logs in /var/log/trafodion/.."
-      exit -1
-   fi
-fi
-
-}
-
-function copyLimits {
-
-echo "***INFO: Copying /etc/security/limits.d/trafodion.conf to new node(s)"
-echo
-
-source $TRAF_CONFIG
-
-sudo cp /etc/security/limits.d/trafodion.conf $HOME
-$TRAF_NEW_PDCP $HOME/trafodion.conf $HOME
-$TRAF_NEW_PDSH sudo cp trafodion.conf /etc/security/limits.d/
-
-}
-
-function reserveDCSPorts {
-
-source $TRAF_CONFIG
-
-$PWD/addNode_reservePorts
-
-if [[ "$?" -ne "0" ]]; then
-   echo "***ERROR: Not able to reserve DCS ports."
-   exit -1 
-fi
-
-
-}
-
-function setKernelMax {
-
-echo "***INFO: Setting kernel.pid_max on new node(s)"
-echo
-
-source $TRAF_CONFIG
-
-$TRAF_NEW_PDSH sudo /sbin/sysctl -w kernel.pid_max=65535 2>&1 > /dev/null
-
-sudo cp /etc/sysctl.conf $HOME 2>&1 > /dev/null
-sudo chown $(whoami).$(whoami) $HOME/sysctl.conf
-
-$TRAF_NEW_PDCP $HOME/sysctl.conf $HOME 2>&1 > /dev/null
-$TRAF_NEW_PDSH sudo mv $HOME/sysctl.conf /etc/sysctl.conf
-$TRAF_NEW_PDSH sudo chown root.root /etc/sysctl.conf
-$TRAF_NEW_PDSH sudo chmod 644 /etc/sysctl.conf
-
-}
-
-function createTrafUserId {
-
-echo "***INFO: Creating $TRAF_USER on new node(s)"
-echo
-
-source $TRAF_CONFIG
-
-TRAF_GROUP="trafodion"
-
-traf_gid=$(id -g $TRAF_USER)
-traf_uid=$(id -u $TRAF_USER)
-
-$TRAF_NEW_PDSH sudo /usr/sbin/groupadd --gid $traf_gid $TRAF_GROUP
-return_code=$?
-if [ $return_code -ne 0 ]; then
-   # if it is not a duplicate group error then we have a problem
-   if [ $return_code -ne 9 ]; then
-      echo "***ERROR: unable to create Trafodion group: $TRAF_GROUP"
-      exit -1
-   fi
-fi
-
-
-$TRAF_NEW_PDSH sudo mkdir -p $HOME_DIR
-TRAF_USER_DIR="$HOME_DIR/$TRAF_USER"
-
-$TRAF_NEW_PDSH sudo /usr/sbin/useradd \
-    --shell /bin/bash \
-    --home $TRAF_USER_DIR -m \
-    --gid $traf_gid \
-    --uid $traf_uid \
-    $TRAF_USER
-return_code=$?
-if [ $return_code -ne 0 ]; then
-    if [ $return_code -eq 9 ]; then
-        echo "***WARNING: username already exists, will use existing userid, $TRAF_USER..."
-    else
-        echo "***ERROR: unable to create Trafodion userid: $TRAF_USER.$TRAF_GROUP, RC=$return_code"
-        exit -1
-    fi
-fi
-
-}
-
-function changeTrafPassword {
-
-source $TRAF_CONFIG
-echo 
-echo "***IMPORTANT: You need to set the $TRAF_USER password on $NEW_NODES, set it to what you have on other nodes."
-echo "***IMPORTANT: sudo passwd $TRAF_USER"
-echo 
-echo 
-sleep 10
-
-}
-
-function editTrafbashrc {
-
-source $TRAF_CONFIG
-
-sudo chmod 777 $HOME_DIR/$TRAF_USER/.bashrc
-#sudo sed -i -e "s@export NODE_LIST=.*@export NODE_LIST=\"$NODE_LIST\"@" $HOME_DIR/$TRAF_USER/.bashrc
-#sudo sed -i -e "s@export MY_NODES=.*@export MY_NODES=\"$MY_NODES\"@" $HOME_DIR/$TRAF_USER/.bashrc
-sudo sed -i -e "/export NODE_LIST/d" $HOME_DIR/$TRAF_USER/.bashrc
-sudo sed -i -e "/export MY_NODES=/d" $HOME_DIR/$TRAF_USER/.bashrc
-
-}
-
-function copyTrafbashrc {
-
-echo "***INFO: Copying over $TRAF_USER .bashrc file"
-
-source $TRAF_CONFIG
-
-sudo cp $HOME_DIR/$TRAF_USER/.bashrc $PWD/tempBashrc
-
-$TRAF_PDCP $PWD/tempBashrc $HOME
-$TRAF_PDSH sudo cp $HOME/tempBashrc $HOME_DIR/$TRAF_USER/.bashrc
-$TRAF_PDSH sudo chmod 644 $HOME_DIR/$TRAF_USER/.bashrc
-
-}
-
-function addTraftoHBase {
-
-echo "***INFO: Adding $TRAF_USER userid  to $HBASE_GROUP group"
-
-source $TRAF_CONFIG
-
-$TRAF_NEW_PDSH sudo usermod -a -G $HBASE_GROUP $TRAF_USER
-}
-
-function editDCSServers {
-
-echo "***INFO: Create DCS servers file"
-
-source $TRAF_CONFIG
-DCS_DIR=$(sudo ls $TRAF_HOME | grep dcs\*)
-
-sudo cp $TRAF_HOME/$DCS_DIR/conf/servers $PWD
-sudo chown $(whoami).$(whoami) $PWD/servers
-
-let per_node=$DCS_SERVERS_PARM/$node_count
-let extras=$DCS_SERVERS_PARM%$node_count
-count=1
-for node_name in $NODE_LIST
-do
-   while read line
-   do
-      if [[ $line  =~ .*$node_name.* ]]; then
-         found=1
-      fi
-   done < $PWD/servers
-   if [[ $found -ne "1" ]]; then
-      if [ $count -le $extras ]; then
-         let node_servers=$per_node+1
-      else
-         node_servers=$per_node
-      fi
-      echo $node_name $node_servers >> $PWD/servers
-      (( count++ ))
-   fi
-   found=0
-done
-
-
-$TRAF_PDCP $PWD/servers $HOME/tempServers
-$TRAF_PDSH sudo cp $HOME/tempServers $TRAF_HOME/$DCS_DIR/conf/servers
-$TRAF_PDSH sudo chown $TRAF_USER.trafodion $TRAF_HOME/$DCS_DIR/conf/servers
-
-
-
-}
-
-function editDCSBackUp {
-
-echo "***INFO: Create DCS Backup Master file"
-
-source $TRAF_CONFIG
-DCS_DIR=$(sudo ls $TRAF_HOME | grep dcs\*)
-
-if [[ ! -z $NEW_BACKUP_DCS_NODES ]]; then
-   for node_name in $BACKUP_DCS_NODES
-   do
-      echo $node_name >> $PWD/tempbackup
-   done
-
-   $TRAF_PDCP $PWD/tempbackup $HOME
-   $TRAF_PDSH sudo cp $HOME/tempbackup $TRAF_HOME/$DCS_DIR/conf/backup-master
-   $TRAF_PDSH sudo chown $TRAF_USER.trafodion $TRAF_HOME/$DCS_DIR/conf/backup-master
-
-fi
-}
-
-function copyAll {
-
-source $TRAF_CONFIG
-echo 
-echo "***IMPORTANT: Copying files to $NEW_NODES"
-echo "***IMPORTANT: This will take some time, it's a lot of file. Please wait...."
-echo 
-sudo mkdir -p $HOME/tmpTraf/
-$TRAF_NEW_PDSH sudo rm -rf $HOME_DIR/$TRAF_USER/.ssh
-$TRAF_NEW_PDSH sudo mkdir -p $HOME_DIR/$TRAF_USER/.ssh
-
-$TRAF_NEW_PDSH mkdir -p $HOME/tmpTraf
-sudo cp -r $HOME_DIR/$TRAF_USER/.bashrc $HOME/tmpTraf/.bashrc
-sudo cp -r $HOME_DIR/$TRAF_USER/.ssh $HOME/tmpTraf
-sudo cp -r $TRAF_HOME $HOME/tmpTraf
-echo "***IMPORTANT: Keep waiting..."
-sudo chown -R $(whoami).$(whoami) $HOME/tmpTraf
-$TRAF_NEW_PDCP -r $HOME/tmpTraf $HOME
-echo "***IMPORTANT: Seriously, it's a lot of file"
-$TRAF_NEW_PDSH sudo cp -r $HOME/tmpTraf/* $HOME_DIR/$TRAF_USER
-$TRAF_NEW_PDSH sudo cp -r $HOME/tmpTraf/.ssh/* $HOME_DIR/$TRAF_USER/.ssh/
-echo "***IMPORTANT: Script got to this point, probably not a hung system."
-$TRAF_NEW_PDSH sudo chown -R $TRAF_USER.trafodion $HOME_DIR/$TRAF_USER
-$TRAF_NEW_PDSH sudo rm -rf $HOME/tmpTraf
-sudo rm -r $HOME/tmpTraf
-
-}
-
-function trafAcceptKeys {
-
-echo "***INFO: Accepting keys on all nodes for all hostname types"
-
-source $TRAF_CONFIG
-
-NODES_SHORT=""
-for node in $NODE_LIST
-do
-   newNode=$(ssh -q -n $node hostname -s)
-
-   NODES_SHORT="$NODES_SHORT $newNode"
-done
-
-NODES_LONG=""
-for node in $NODE_LIST
-do
-   newNode=$(ssh -q -n $node hostname -f)
-
-   NODES_LONG="$NODES_LONG $newNode"
-done
-./traf_createPasswordLessSSH --nodes "$NODE_LIST"
-echo "***INFO: Keep waiting...."
-./traf_createPasswordLessSSH --nodes "$NODES_SHORT"
-echo "***INFO: All is well...."
-./traf_createPasswordLessSSH --nodes "$NODES_LONG"
-
- 
-sudo cp $HOME_DIR/$TRAF_USER/.ssh/known_hosts $HOME
-sudo chown -R $(whoami).$(whoami) $HOME/known_hosts
-
-$TRAF_PDCP $HOME/known_hosts $HOME
-$TRAF_PDSH sudo cp -r $HOME/known_hosts $HOME_DIR/$TRAF_USER/.ssh
-$TRAF_PDSH sudo chown -R $TRAF_USER.trafodion $HOME_DIR/$TRAF_USER/.ssh/known_hosts
-$TRAF_PDSH sudo rm -rf $HOME/known_hosts
-
-}
-
-function copySqcert {
-
-source $TRAF_CONFIG
-
-$TRAF_PDSH mkdir -p $HOME/tmpTraf
-sudo cp -r $HOME_DIR/$TRAF_USER/sqcert/* $HOME/tmpTraf
-sudo chown -R $(whoami).$(whoami) $HOME/tmpTraf
-$TRAF_PDCP -r $HOME/tmpTraf $HOME
-$TRAF_PDSH sudo mkdir -p $HOME_DIR/$TRAF_USER/sqcert
-$TRAF_PDSH sudo chown -R $TRAF_USER.trafodion $HOME_DIR/$TRAF_USER/sqcert 2>&1 > /dev/null
-$TRAF_PDSH sudo cp -rf $HOME/tmpTraf/sqcert $HOME_DIR/$TRAF_USER/sqcert 2>&1 > /dev/null
-$TRAF_PDSH sudo chown -R $TRAF_USER.trafodion $HOME_DIR/$TRAF_USER/sqcert 2>&1 > /dev/null
-$TRAF_PDSH rm -r $HOME/tmpTraf
-
-}
-
-
-function copysqConfig {
-
-source $TRAF_CONFIG
-
-$TRAF_PDSH mkdir -p $HOME/tmpTraf
-sudo cp -r $TRAF_HOME/sql/scripts/sqconfig $HOME/tmpTraf
-sudo chown -R $(whoami).$(whoami) $HOME/tmpTraf
-$TRAF_PDCP -r $HOME/tmpTraf $HOME
-$TRAF_PDSH sudo cp -rf $HOME/tmpTraf/sqconfig $TRAF_HOME/sql/scripts 2>&1 > /dev/null
-$TRAF_PDSH sudo chown -R $TRAF_USER.trafodion $TRAF_HOME/sql/scripts 2>&1 > /dev/null
-$TRAF_PDSH rm -r $HOME/tmpTraf
-
-}
-
-
-function printMessage {
-
-source $TRAF_CONFIG
-echo
-echo "***IMPORTANT: EXIT OUT OF ALL EXISTING SHELLS, need to pick up new environment variables"
-echo "***IMPORTANT: All node(s) should be added!"
-#echo "***IMPORTANT: Node is ready to be added"
-#echo "***IMPORTANT: sudo su $TRAF_USER"
-#echo "***IMPORTANT: sqshell -a"
-#echo "***IMPORTANT: up <new node>"
-echo
-
-}
-
-function addUpNodes {
-
-for node in $NEW_NODES
-do 
-  
-    nodeToAdd="node-name $node, cores $CORES, processors $PROCESSORS, roles connection,aggregation,storage"
-
-    sudo su $TRAF_USER --login --command "cd $TRAF_HOME/sql/scripts; echo \"node add $nodeToAdd \" | sqshell -a"
-    sleep 30
-    sudo su $TRAF_USER --login --command "cd $TRAF_HOME/sql/scripts; echo \"node up $node\" | sqshell -a"
-    sleep 30
-
-done
-
-}
-
-function sqRegen {
-
-sudo su $TRAF_USER --login --command "cd $TRAF_HOME/sql/scripts; sqregen -config"
-
-}
-
-function dcsStart {
-
-sudo su $TRAF_USER --login --command "cd $TRAF_HOME/sql/scripts; dcsstart"
-}
-
-function cleanUp {
-
-$TRAF_PDSH rm -rf $HOME/hbase-site*
-$TRAF_PDSH rm -rf $HOME/hbaseVersion*
-$TRAF_PDSH rm -rf $HOME/sysctl.conf
-$TRAF_PDSH rm -rf $HOME/tempBashrc
-$TRAF_PDSH rm -rf $HOME/tempServers
-$TRAF_PDSH rm -rf $HOME/trafodion_config
-$TRAF_PDSH rm -rf $HOME/trafodion.conf
-
-}
-
-
-
-#Main
-
-echo
-echo "***IMPORTANT: Starting installation on $NEW_NODES"
-echo 
-
-installPackages
-copyLimits
-reserveDCSPorts
-setKernelMax
-createTrafUserId
-changeTrafPassword
-editTrafbashrc
-copyTrafbashrc
-copyAll
-trafAcceptKeys
-editDCSServers
-if [[ "$ENABLE_HA" == "true" ]]; then
-   editDCSBackUp
-fi
-addTraftoHBase
-copySqcert
-addUpNodes
-sqRegen
-copysqConfig
-dcsStart
-cleanUp
-printMessage
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/bashrc_default
----------------------------------------------------------------------
diff --git a/install/installer/bashrc_default b/install/installer/bashrc_default
deleted file mode 100755
index 8e345fd..0000000
--- a/install/installer/bashrc_default
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-# This is the .bashrc for the Trafodion environment
-#
-#-------------------------------------------
-# Execute the system's default .bashrc first
-#-------------------------------------------
-if [ -f /etc/bashrc ]; then
-	. /etc/bashrc
-fi
-
-cd $HOME
-
-#-------------------------------------------
-# Execute the trafodion_config script
-#-------------------------------------------
-
-if [ -f /etc/trafodion/trafodion_config ]; then
-   source /etc/trafodion/trafodion_config
-fi
-
-#-------------------------------------------
-# full path of your Trafodion installation
-#-------------------------------------------
-export TRAF_HOME=XXXXXX
-
-#-------------------------------------------
-# other env vars needed by Trafodion
-#-------------------------------------------
-
-# These env vars define all nodes in the cluster
-export NODE_LIST=XXXXX
-export MY_NODES=XXXXX
-
-# directory where needed libraries can be found
-export TOOLSDIR=XXXXX
-
-#-------------------------------------------
-# Execute the sqenv.sh script if it exists.
-#-------------------------------------------
-PATH=".:$PATH"
-
-if [ -f $TRAF_HOME/sqenv.sh ]; then
-        pushd . >/dev/null
-        cd $TRAF_HOME
-        source ./sqenv.sh
-        popd >/dev/null
-        export MANPATH=$MANPATH:$MPI_ROOT/share/man
-        setup_my_nodes
-fi 
-
-#-------------------------------------------
-# additional settings for Trafodion environment
-#-------------------------------------------
-ETC_SECURITY_MSG="***ERROR: To fix this please configure /etc/security/limits.conf properly on $HOSTNAME."
-
-# set core file size
-ulimit -c unlimited
-
-# set max open files
-ulimit -n 32768
-if [ $? -ne 0 ]; then
-    echo "***ERROR: Unable to set max open files. Current value $(ulimit -n)"
-    echo $ETC_SECURITY_MSG
-fi

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/checkHBase
----------------------------------------------------------------------
diff --git a/install/installer/checkHBase b/install/installer/checkHBase
deleted file mode 100755
index 354ed1a..0000000
--- a/install/installer/checkHBase
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-echo "**INFO: Checking HBase status" 
-
-
-echo 'status' | hbase shell -n | grep "0 dead"
-
-status=$?
-
-if [[ "$status" -ne 0 ]]; then
-   echo "***ERROR: HBase not up"
-   echo "***ERROR: HBase MUST be installed and up for installation"
-   exit -1
-else
-   echo "***INFO: HBase up and running"
-   echo
-fi

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/checkJava.py
----------------------------------------------------------------------
diff --git a/install/installer/checkJava.py b/install/installer/checkJava.py
deleted file mode 100755
index 9852d39..0000000
--- a/install/installer/checkJava.py
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/usr/bin/python
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-import subprocess
-import re
-import os
-
-
-pathToJava=os.environ["JAVA_HOME"]
-pathToJava = pathToJava + "/bin/" + "java"
-javaVersion  = [pathToJava, "-version"]
-
-java7="1.7"
-java8="1.8"
-java67="67"
-
-try: 
-   sp = subprocess.Popen(javaVersion, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-except:
-   print "***ERROR: Unable to find Java Version"
-   os._exit(-1)
-
-lst_Java=list(sp.communicate())
-
-
-lst_Java=re.findall('version "[0-9.]+_[0-9]+"', lst_Java[1])
-
-if not re.search(java7, str(lst_Java)):
-   if re.search(java8, str(lst_Java)):
-      os._exit(0)
-   else:
-      os._exit(-1)
-
-
-lst_Java=re.findall('_[0-9]+', lst_Java[0])
-
-lst_Java=re.findall('[0-9]+', lst_Java[0])
-
-
-
-if int(lst_Java[0]) >= int(java67):
-   os._exit(0)
-else:
-   os._exit(-1)
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/cloud_cli_setup
----------------------------------------------------------------------
diff --git a/install/installer/cloud_cli_setup b/install/installer/cloud_cli_setup
deleted file mode 100755
index eb39b41..0000000
--- a/install/installer/cloud_cli_setup
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-# This script sets up the Command Line Interface(CLI) for various cloud environments
-#
-
-TRAF_CONFIG=/etc/trafodion/trafodion_config
-source $TRAF_CONFIG
-
-###### Setting up CLI for AWS as sudo id
-
-if [[ ! -z $AWS_CLOUD ]]; then
-###### Check for existence of aws  
-    if [[ ! -d /usr/local/aws ]]; then
-       cd $HOME
-       curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
-       unzip $HOME/awscli-bundle.zip
-
-       if [[ $node_count -gt "1" ]]; then
-          $TRAF_PDCP $HOME/awscli-bundle $HOME
-          $TRAF_PDSH "sudo $HOME/awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws" | tee -a $INSTALL_LOG
-       else 
-          sudo $HOME/awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws | tee -a $INSTALL_LOG
-       fi
-
-       $TRAF_PDSH "sudo rm -rf $HOME/awscli-bundle"
-       rm -f $HOME/awscli-bundle.zip
-    fi
-
-###### Check for existence of .aws for trafodion id
-    ###### Check if aws configuration file exist for Trafodion Id
-    AWSCONFIG_DIR=`sudo su $TRAF_USER --login --command "ls -altr | grep -w ".aws" | wc -l" `
-    if [[ $AWSCONFIG_DIR == 0 ]]; then
-       ###### Execute 'aws configure' command as a Trafodion Id
-       echo
-       echo "***INFO: Configuring AWS keys for executing CLI commands"
-       echo
-       sudo su $TRAF_USER --login --command "/usr/local/bin/aws configure"
-
-       ###### Copy the .aws folder to all nodes in the cluster for Trafodion Id
-       sudo su $TRAF_USER --login --command "$TRAF_PDCP $HOME_DIR/$TRAF_USER/.aws $HOME_DIR/$TRAF_USER"
-       echo
-       echo "***INFO: AWS configuration for trafodion id located in $HOME_DIR/$TRAF_USER/.aws"
-       echo
-    else
-       echo
-       echo "AWS Configuration already exist for Trafodion Id"
-       echo -n "Do you want to overwrite the configuration (Y/N), default is N: "
-       read answer
-       if [ ! -z $answer ]; then
-         if [[ "${answer}" =~ ^[Yy]$ ]]; then
-             ###### Execute 'aws configure' command as a Trafodion id
-             echo
-             echo "***INFO: Configuring AWS keys for executing CLI commands"
-             echo
-             sudo su $TRAF_USER --login --command "/usr/local/bin/aws configure"
-
-             ###### Copy the .aws folder to all nodes in the cluster for Trafodion Id
-             sudo su $TRAF_USER --login --command "$TRAF_PDCP $HOME_DIR/$TRAF_USER/.aws $HOME_DIR/$TRAF_USER"
-             echo
-             echo "***INFO: AWS configuration for trafodion id located in $HOME_DIR/$TRAF_USER/.aws"
-             echo
-         else
-             echo
-             echo "***INFO: Skipping AWS configuration setup"
-             echo
-         fi
-      fi
-   fi
-fi

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/dcs_installer
----------------------------------------------------------------------
diff --git a/install/installer/dcs_installer b/install/installer/dcs_installer
deleted file mode 100755
index 6e00271..0000000
--- a/install/installer/dcs_installer
+++ /dev/null
@@ -1,219 +0,0 @@
-#!/bin/bash
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-#==========================================
-#  Install DCS on a Trafodion cluster
-#==========================================
-
-export TRAF_CONFIG="/etc/trafodion/trafodion_config"
-
-function print_usage {
-cat << EOF
-This script will install/configure the specified DCS build.
-While this script can be run manually, it is normally
-executed from the Trafodion installer.
-
-Usage: $(basename $0) [options]
-
-Options:
-    --help                    Print this message and exit.
-    --dcs_build <file>        Path to the DCS build tar file.
-    --dcs_install_path <dir>  Path to the install directory. (defaults to $TRAF_HOME)
-    --dcs_servers <count>     Total number of DCS servers to start.  These
-                              will be allocated in a round-robin fashion on
-                              all nodes. (default, 1 per node)
-EOF
-}
-
-# check that required options have values
-function checkOpts {
-    PARAMCHECK=0
-    MESSAGE=""
-    for PARAM in $REQUIRED_OPTIONS; do
-        VALUE=$(eval echo \$$PARAM)
-        if [[ -z "$VALUE" ]]; then
-            MESSAGE="***ERROR: Parameter $PARAM has no value. $MESSAGE"
-            PARAMCHECK=1
-        fi
-    done
-    if [[ $PARAMCHECK -ne 0 ]]; then
-        echo "$MESSAGE"
-        exit -1
-    fi
-}
-
-
-# Default parameters
-typeset DCS_BUILD_FILE=""
-typeset DCS_INSTALL_PATH="$TRAF_HOME"
-typeset DCS_SERVER_COUNT=""
-
-# Parse input parameters
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --dcs_build)
-            if [[ -z "$2" ]]; then
-                echo "***ERROR: No value passed to param $1."
-                print_usage
-                exit -1
-            fi
-            DCS_BUILD_FILE=$2
-            shift
-            ;;
-        --dcs_install_path)
-            if [[ -z "$2" ]]; then
-                echo "***ERROR: No value passed to param $1."
-                print_usage
-                exit -1
-            fi
-            DCS_INSTALL_PATH=$2
-            shift
-            ;;
-        --dcs_servers)
-            if [[ -z "$2" ]]; then
-                echo "***ERROR: No value passed to param $1."
-                print_usage
-                exit -1
-            fi
-            DCS_SERVER_COUNT=$2
-            shift
-            ;;
-        --help)
-            print_usage
-            ;;
-        *)
-            print_usage
-            exit -1
-  esac
-  shift
-done
-
-checkOpts
-source $TRAF_CONFIG
-echo "***INFO: Start of DCS install"
-
-# Make sure required env vars have been set first
-if [[ -z "$TRAF_HOME" ]]; then
-    echo "***ERROR: environment variable TRAF_HOME has no value."
-    exit -1
-fi
-if [[ -z "$NODE_LIST" ]]; then
-    echo "***ERROR: environment variable NODE_LIST has no value."
-    exit -1
-fi
-
-if [ -z $DCS_SERVER_COUNT ]; then
-    DCS_SERVER_COUNT=$node_count
-fi
-
-# create install directory
-mkdir -p $DCS_INSTALL_PATH
-cd $DCS_INSTALL_PATH
-
-DCS_DIR=$(ls $TRAF_HOME | grep dcs)
-DCS_DIR=$TRAF_HOME/$DCS_DIR
-echo "***INFO: DCS Install Directory: $DCS_DIR"
-
-cd $DCS_DIR/conf
-
-
-echo "***INFO: modifying $DCS_DIR/conf/dcs-site.xml"
-
-# add zookeeper quorum property to end of configuration
-rm dcs-site.temp 2>/dev/null
-cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.zookeeper.property.clientPort</name>\n    <value>$ZOOKEEPER_PORT</value>\n  </property>\n </configuration>@" > dcs-site.temp
-cp dcs-site.temp dcs-site.xml
-rm dcs-site.temp 2>/dev/null
-
-cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.zookeeper.quorum</name>\n    <value>$ZOOKEEPER_NODES</value>\n  </property>\n </configuration>@" > dcs-site.temp
-cp dcs-site.temp dcs-site.xml
-rm dcs-site.temp 2>/dev/null
-
-# get external network interface
-EXTERNAL_NETWORK=$(netstat -rn | grep "^0.0.0.0" | awk '{print $8}')
-if [ -z "$EXTERNAL_NETWORK" ]; then
-   echo "***ERROR: Unable to determine external network interface"
-   exit -1;
-fi
-
-# add network interface property to end of configuration
-rm dcs-site.temp 2>/dev/null
-cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.dns.interface</name>\n    <value>$EXTERNAL_NETWORK</value>\n  </property>\n</configuration>@" > dcs-site.temp
-cp dcs-site.temp dcs-site.xml
-rm dcs-site.temp 2>/dev/null
-
-#Configure the dcs primary node
-echo $DCS_PRIMARY_MASTER_NODE > $DCS_DIR/conf/master
-
-
-if [[ "$ENABLE_HA" == "true" ]]; then
-   ######Configure dcs-site.xml file
-   rm dcs-site.temp 2>/dev/null
-   cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.master.floating.ip</name>\n    <value>true</value>\n  </property>\n</configuration>@" > dcs-site.temp
-   cp dcs-site.temp dcs-site.xml
-   rm dcs-site.temp 2>/dev/null
-
-   rm dcs-site.temp 2>/dev/null
-   cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.master.floating.ip.external.interface</name>\n    <value>$INTERFACE</value>\n  </property>\n</configuration>@" > dcs-site.temp
-   cp dcs-site.temp dcs-site.xml
-   rm dcs-site.temp 2>/dev/null
-
-   rm dcs-site.temp 2>/dev/null
-   cat dcs-site.xml | sed -e "s@</configuration>@  <property>\n    <name>dcs.master.floating.ip.external.ip.address</name>\n    <value>$FLOATING_IP</value>\n  </property>\n</configuration>@" > dcs-site.temp
-   cp dcs-site.temp dcs-site.xml
-   rm dcs-site.temp 2>/dev/null
-   
-   ######Configure the backup masters file
-   echo "***INFO: modifying $DCS_DIR/conf/backup-masters file"
-   
-   for node in $BACKUP_DCS_NODES
-   do
-       echo $node >> $DCS_DIR/conf/backup-masters
-   done
-  
-   ######Configure dcs-env.sh
-   sed -i -e "s@DCS_MASTER_FLOATING_IP=.*\$@DCS_MASTER_FLOATING_IP=$FLOATING_IP@" dcs-env.sh
-
-fi
-
-
-echo "***INFO: creating $DCS_DIR/conf/servers file"
-rm servers 2>/dev/null
-let per_node=$DCS_SERVER_COUNT/$node_count
-let extras=$DCS_SERVER_COUNT%$node_count
-count=1
-for node_name in $NODE_LIST
-do
-    if [ $count -le $extras ]; then
-       let node_servers=$per_node+1
-    else
-       node_servers=$per_node
-    fi
-    echo $node_name $node_servers >> servers
-    (( count++ ))
-done
-
-
-
-echo "***INFO: End of DCS install."
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/getNodes.py
----------------------------------------------------------------------
diff --git a/install/installer/getNodes.py b/install/installer/getNodes.py
deleted file mode 100755
index 0041ba5..0000000
--- a/install/installer/getNodes.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-import sqlite3
-import os
-
-conn = sqlite3.connect('sqconfig.db')
-
-cur = conn.cursor()
-
-cur.execute('SELECT nodeName FROM pnode')
-
-nodes = cur.fetchall()
-
-listOfNodes = list()
-
-for node in nodes:
-    listOfNodes.append(node[0])
-
-
-nodelist = str()
-for node in listOfNodes:
-    nodelist = node + " " + nodelist
-
-print nodelist
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/parseHBaseSite.py
----------------------------------------------------------------------
diff --git a/install/installer/parseHBaseSite.py b/install/installer/parseHBaseSite.py
deleted file mode 100755
index 196b85d..0000000
--- a/install/installer/parseHBaseSite.py
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/python
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-import os
-
-import xml.etree.ElementTree as ET
-
-hbaseMaster="hbase.master.info.port"
-hbaseRegion="hbase.regionserver.info.port"
-zooKeeperNodes="hbase.zookeeper.quorum"
-zooKeeperClientPort="hbase.zookeeper.property.clientPort"
-pathToHome= os.environ['HOME']
-
-hbaseMasterInfoPort="60010"
-regionServerInfoPort="60030"
-zookeeperNodeNames=""
-zookeeperPort="2181"
-
-tree = ET.parse( pathToHome + '/hbase-site.xml')
-
-root = tree.getroot()
-
-
-for x in root.findall('property'):
-    name = str(x.find('name').text)
-    if name == hbaseMaster:
-       hbaseMasterInfoPort = x.find('value').text
-    if name == hbaseRegion:
-       regionServerInfoPort = x.find('value').text
-    if name == zooKeeperNodes:
-       zookeeperNodeNames = x.find('value').text
-    if name == zooKeeperClientPort:
-       zookeeperPort = x.find('value').text
-
-f = open( '/etc/trafodion/trafodion_config', 'a')
-f.write ( 'export HBASE_MASTER_INFO_PORT="' + hbaseMasterInfoPort + '"\n' )
-f.write ( 'export REGIONSERVER_INFO_PORT="' + regionServerInfoPort + '"\n' )
-f.write ( 'export ZOOKEEPER_NODES="' + zookeeperNodeNames + '"\n' )
-f.write ( 'export ZOOKEEPER_PORT="' + zookeeperPort + '"\n' )
-f.close()

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/rest_installer
----------------------------------------------------------------------
diff --git a/install/installer/rest_installer b/install/installer/rest_installer
deleted file mode 100755
index 5742b42..0000000
--- a/install/installer/rest_installer
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/bash
-
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-#==========================================
-#  Install REST server on a Trafodion cluster
-#==========================================
-
-function print_usage {
-cat << EOF
-This script will install/configure the Trafodion REST server.
-While this script can be run manually, it is normally
-executed from the Trafodion installer.
-
-Usage: $(basename $0) [options]
-
-Options:
-    --help                    Print this message and exit.
-    --rest_build <file>       Path to the REST build tar file.
-    --rest_install_path <dir> Path to the install directory. (defaults to $TRAF_HOME)
-EOF
-}
-
-# Default parameters
-typeset REST_BUILD_FILE=""
-typeset REST_INSTALL_PATH="$TRAF_HOME"
-typeset TRAF_CONFIG="/etc/trafodion/trafodion_config"
-# Parse input parameters
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --rest_build)
-            if [[ -z "$2" ]]; then
-                echo "***ERROR: No value passed to param $1."
-                print_usage
-                exit -1
-            fi
-            REST_BUILD_FILE=$2
-            shift
-            ;;
-        --rest_install_path)
-            if [[ -z "$2" ]]; then
-                echo "***ERROR: No value passed to param $1."
-                print_usage
-                exit -1
-            fi
-            REST_INSTALL_PATH=$2
-            shift
-            ;;
-        --help)
-            print_usage
-            ;;
-        *)
-            print_usage
-            exit -1
-  esac
-  shift
-done
-
-echo "***INFO: Start of REST Server install"
-source $TRAF_CONFIG
-
-# Make sure required env vars have been set first
-if [[ -z "$TRAF_HOME" ]]; then
-    echo "***ERROR: environment variable TRAF_HOME has no value."
-    exit -1
-fi
-if [[ -z "$NODE_LIST" ]]; then
-    echo "***ERROR: environment variable NODE_LIST has no value."
-    exit -1
-fi
-
-# create install directory
-mkdir -p $REST_INSTALL_PATH
-cd $REST_INSTALL_PATH
-
-REST_DIR=$(ls $TRAF_HOME | grep rest)
-REST_DIR=$TRAF_HOME/$REST_DIR
-echo "***INFO: Rest Install Directory: $REST_DIR"
-
-
-cd $REST_DIR/conf
-
-echo "***INFO: modifying $REST_DIR/conf/rest-site.xml"
-# add zookeeper quorum property to end of configuration
-rm rest-site.temp 2>/dev/null
-cat rest-site.xml | sed -e "s@</configuration>@  <property>\n    <name>rest.zookeeper.property.clientPort</name>\n    <value>$ZOOKEEPER_PORT</value>\n  </property>\n </configuration>@" > rest-site.temp
-cp rest-site.temp rest-site.xml
-rm rest-site.temp 2>/dev/null
-
-cat rest-site.xml | sed -e "s@</configuration>@  <property>\n    <name>rest.zookeeper.quorum</name>\n    <value>$ZOOKEEPER_NODES</value>\n  </property>\n </configuration>@" > rest-site.temp
-cp rest-site.temp rest-site.xml
-rm rest-site.temp 2>/dev/null
-
-echo "***INFO: End of REST Server install."
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/setup_known_hosts.exp
----------------------------------------------------------------------
diff --git a/install/installer/setup_known_hosts.exp b/install/installer/setup_known_hosts.exp
deleted file mode 100755
index 959e385..0000000
--- a/install/installer/setup_known_hosts.exp
+++ /dev/null
@@ -1,35 +0,0 @@
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-#
-# This script is called from traf_add_user
-# It is used to avoid being prompted when
-# setting up the $HOME/.ssh/known_hosts file
-set timeout 5
-set node [lindex $argv 0]
-spawn ssh $node
-expect " (yes/no)?"
-send "yes\r"
-
-# if login prompt does not contain a bracket
-# then the script will just timeout, which is ok, too.
-expect "]"
-send_user "\r"
-send "exit\r"

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/setup_ssh_key
----------------------------------------------------------------------
diff --git a/install/installer/setup_ssh_key b/install/installer/setup_ssh_key
deleted file mode 100755
index cd8d443..0000000
--- a/install/installer/setup_ssh_key
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-echo -e 'y\n' | ssh-keygen -t rsa -N "" -f $HOME/.ssh/id_rsa
-cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
-echo localhost $(cat /etc/ssh/ssh_host_rsa_key.pub) >> $HOME/.ssh/known_hosts
-echo "NoHostAuthenticationForLocalhost=yes" >> $HOME/.ssh/config
-chmod 600 $HOME/.ssh/config

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/sqconfig_persist.txt
----------------------------------------------------------------------
diff --git a/install/installer/sqconfig_persist.txt b/install/installer/sqconfig_persist.txt
deleted file mode 100755
index 4de7fd8..0000000
--- a/install/installer/sqconfig_persist.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-begin persist
-
-#
-# The following PROCESS_TYPEs are persistent and have special process management:
-#    DTM
-#    TMID
-#    SSMP
-#    PSD
-#    WDG
-#
-# Generic persistent processes are of PROCESS_TYPE:
-#    PERSIST
-#
-
-PERSIST_PROCESS_KEYS = DTM,TMID,SSCP,SSMP,PSD,WDG
-
-DTM_PROCESS_NAME     = $TM%nid+
-DTM_PROCESS_TYPE     = DTM
-DTM_PROGRAM_NAME     = tm
-DTM_REQUIRES_DTM     = N
-DTM_STDOUT           = stdout_DTM%nid
-DTM_PERSIST_RETRIES  = 2,30
-DTM_PERSIST_ZONES    = %zid
-
-TMID_PROCESS_NAME    = $TMID
-TMID_PROCESS_TYPE    = TMID
-TMID_PROGRAM_NAME    = idtmsrv
-TMID_REQUIRES_DTM    = N
-TMID_STDOUT          = stdout_TMID
-TMID_PERSIST_RETRIES = 2,30
-TMID_PERSIST_ZONES   = %zid+
-
-SSCP_PROCESS_NAME    = $ZSC%nid+
-SSCP_PROCESS_TYPE    = PERSIST
-SSCP_PROGRAM_NAME    = mxsscp
-SSCP_REQUIRES_DTM    = Y
-SSCP_STDOUT          = stdout_ZSC%nid
-SSCP_PERSIST_RETRIES = 10,60
-SSCP_PERSIST_ZONES   = %zid
-
-SSMP_PROCESS_NAME    = $ZSM%nid+
-SSMP_PROCESS_TYPE    = SSMP
-SSMP_PROGRAM_NAME    = mxssmp
-SSMP_REQUIRES_DTM    = Y
-SSMP_STDOUT          = stdout_ZSM%nid
-SSMP_PERSIST_RETRIES = 10,60
-SSMP_PERSIST_ZONES   = %zid
-
-PSD_PROCESS_NAME     = $PSD%nid+
-PSD_PROCESS_TYPE     = PSD
-PSD_PROGRAM_NAME     = pstartd
-PSD_REQUIRES_DTM     = N
-PSD_STDOUT           = stdout_PSD%nid
-PSD_PERSIST_RETRIES  = 10,60
-PSD_PERSIST_ZONES    = %zid
-
-WDG_PROCESS_NAME     = $WDG%nid+
-WDG_PROCESS_TYPE     = WDG
-WDG_PROGRAM_NAME     = sqwatchdog
-WDG_REQUIRES_DTM     = N
-WDG_STDOUT           = stdout_WDG%nid
-WDG_PERSIST_RETRIES  = 10,60
-WDG_PERSIST_ZONES    = %zid
-
-end persist
-

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/tools/ambari_setup
----------------------------------------------------------------------
diff --git a/install/installer/tools/ambari_setup b/install/installer/tools/ambari_setup
deleted file mode 100755
index b97a7fc..0000000
--- a/install/installer/tools/ambari_setup
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-
-#  Setup Hortonworks/Ambari
-
-#==============================================
-# Default values
-typeset TRAF_WORKDIR="$( cd "$( dirname "$0" )" && pwd )/.."
-typeset timestamp=$(date +%F-%H-%M-%S)
-typeset SETUP_LOG="/var/log/trafodion/traf_ambari_setup_$timestamp.log"
-
-AMBARI=$(rpm -qa | grep ambari | wc -l)
-#==============================================
-
-function print_usage {
-cat << EOF
-This script will help install Hortonworks/Ambari.
-
-NOTE: Please refer to Hortonworks documentation for questions.
-
-Usage: $(basename $0) [options]
-
-Options:
-    --help                 Print this message and exit.
-EOF
-}
-
-#==============================================
-# Parse input parameters
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --help)
-            print_usage
-            exit -1
-            ;;
-        *)
-         echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-
-#==============================================
-#Info for log file
-sudo mkdir -p /var/log/trafodion
-sudo chmod 777 /var/log/trafodion
-
-SUSE_Installed=$(grep -cr SUSE /proc/version)
-
- 
-echo "***INFO: Log file located /var/log/trafodion"
-echo "***Log File: trafodion_ambari_setup script***" >> $SETUP_LOG
-echo >> $SETUP_LOG
-echo "Working directory: $TRAF_WORKDIR" >> $SETUP_LOG
-echo >> $SETUP_LOG
-
-#==============================================
-if [[ $AMBARI -eq 0 ]]; then
-   echo "***INFO: Installing Hortonworks/Ambari, will need browser access to complete" | tee -a $SETUP_LOG
-
-   sudo rm -rf ambari.repo* 2>/dev/null
-   if [[ "$SUSE_Installed" -eq "1" ]]; then
-      wget http://public-repo-1.hortonworks.com/ambari/suse11/2.x/updates/2.0.0/ambari.repo
-   else
-      wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.4.0.1/ambari.repo
-   fi
-
-   if [ $? -ne 0 ]; then
-      echo "***ERROR: Time out error. Please check http_proxy settings." | tee -a $SETUP_LOG
-      echo "***ERROR: Exiting..." | tee -a $SETUP_LOG
-      echo
-      exit -1
-   fi
-   
-   if [[ "$SUSE_Installed" -eq "1" ]]; then
-      sudo cp ambari.repo /etc/zypp/repos.d
-      sudo zypper install ambari-server
-   else
-      sudo cp ambari.repo /etc/yum.repos.d
-      sudo yum --assumeyes install ambari-server
-   fi
-   sudo ambari-server setup
-   sudo ambari-server start
-
-   if [ $? -ne 0 ]; then
-      echo "***ERROR: Error while installing Hortonworks/Ambari" | tee -a $SETUP_LOG
-      echo "***ERROR: Exiting..." | tee -a $SETUP_LOG
-      echo
-      exit -1
-   fi
-
-   echo "***INFO: Complete Hortonworks/Ambari setup from http://localhost:8080" | tee -a $SETUP_LOG
-else
-   echo
-   echo "***INFO: Hortonworks/Ambari previously installed." | tee -a $SETUP_LOG
-
-fi
-#==============================================

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/tools/clouderaMoveDB.sh
----------------------------------------------------------------------
diff --git a/install/installer/tools/clouderaMoveDB.sh b/install/installer/tools/clouderaMoveDB.sh
deleted file mode 100755
index fb6f02a..0000000
--- a/install/installer/tools/clouderaMoveDB.sh
+++ /dev/null
@@ -1,191 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-dbToMove="hmon smon"
-while getopts 'd:' parmOpt
-do
-    case $parmOpt in
-    d)  dbToMove="${OPTARG}" ;;
-    ?)  echo "Invalid option specified.   Only -d is allowed."
-        exit 0 ;;
-    esac
-done
-shift $(($OPTIND - 1))
-
-newLocation=$1
-
-if [ ${#newLocation} -lt 1 ] ; then
-	echo "Syntax:  clouderMoveDB.sh[-d <database>] <newLocation>"
-	echo "This script will create <newLocation> and then tell PostgreSQL"
-	echo "for Cloudera to move the PostgreSQL <database> DB."
-	echo "-d <database> to specify which DB to move."
-	echo "    default is ${dbToMove}.  This is the large DB."
-	echo "Note:  You have to be root to run this script."
-	exit 0
-fi
-
-if [ $UID -ne 0 ] ; then
-	echo "This script must be run as root."
-	exit 0
-fi
-
-#
-#  If not present, create new location directory.
-#
-if [ ! -d ${newLocation} ] ; then
-	mkdir -p ${newLocation}
-fi
-
-if [ ! -d ${newLocation} ] ; then
-	echo "Could not create ${newLocation}."
-	exit 0
-fi
-
-#
-#  Make sure it has proper ownership.
-#
-clouderaUser=cloudera-scm
-wantUserGroup=${clouderaUser}:${clouderaUser}
-userGroup=$(ls -ld ${newLocation} | awk '{print $3 ":" $4}')
-if [ X${userGroup} != X${wantUserGroup} ] ; then
-	chown ${wantUserGroup} ${newLocation}
-fi
-userGroup=$(ls -ld ${newLocation} | awk '{print $3 ":" $4}')
-if [ X${userGroup} != X${wantUserGroup} ] ; then
-	echo "Can not give ownership to ${clouderaUser} for ${newLocation}"
-	exit 0
-fi
-
-#
-#  Setup POSTGRESQL password file so that we get no prompting.
-#  If you know the cloudera-scm password, define/export CLOUDERA_PGPASS and it will be used.
-#  otherwise, we will fetch it.
-#
-export PGPASSFILE=./pgpassfile
-tempFile=./tempFile
-rm -f ${PGPASSFILE} ${tempFile}
-
-if [ ${#CLOUDERA_PGPASS} -eq 0 ] ; then
-	cloudera_genpassfile="/var/lib/cloudera-scm-server-db/data/generated_password.txt"
-	if [ ! -f ${cloudera_genpassfile} ] ; then
-		echo "Could not find cloudera-scm generated password."
-		exit 0
-	fi
-
-	CLOUDERA_PGPASS=$(head -1 ${cloudera_genpassfile})
-	unset cloudera_genpassfile
-fi
-
-cloudera_dbprops="/etc/cloudera-scm-server/db.properties"
-if [ ! -f ${cloudera_dbprops} ] ; then
-	echo "Could not find Cloudera db.properties files."
-	exit 0
-fi
-hostPort=$(grep com.cloudera.cmf.db.host ${cloudera_dbprops} | awk -F= '{print $2}')
-if [ ${#hostPort} -eq 0 ] ; then
-	echo "Could not find com.cloudera.cmf.db.host in Cloudera db.properties file."
-	exit 0
-fi
-unset cloudera_dbprops
-
-echo "${hostPort}:*:${clouderaUser}:${CLOUDERA_PGPASS}" > ${PGPASSFILE}
-if [ ! -f ${PGPASSFILE} ] ; then
-	echo "Could not create temporary psql password files ${PGPASSFILE}"
-	exit 0
-fi
-chmod 600 ${PGPASSFILE}
-
-#
-# Following will make sure our password and temporary files are removed.
-cleanPASSFILE()
-{
-	rm -f ${PGPASSFILE} ${tempFile}
-}
-trap cleanPASSFILE ERR INT
-
-#
-# We're ready to go.
-# Get list of tablespace.
-phost=$(echo ${hostPort} | awk -F: '{print $1}')
-pport=$(echo ${hostPort} | awk -F: '{print $2}')
-
-for currDB in ${dbToMove}
-do
-    if [ $(psql -h ${phost} -p ${pport} -U ${clouderaUser} -l -q -t | grep -c ${currDB}) -eq 0 ] ; then
-        echo "Db ${currDB} was not found in the PostgreSQL."
-        cleanPASSFILE
-        exit 0
-    fi
-done
-
-dataSpace="data_space"
-currDB=$(echo ${dbToMove} | awk '{print $1}')
-psql -h ${phost} -p ${pport} -U ${clouderaUser} -d ${currDB} -q -t -c \\db > ${tempFile}
-
-if [ $(grep -c ${dataSpace} ${tempFile}) -gt 0 ] ; then
-	if [ $(grep ${dataSpace} ${tempFile} | awk '{print $5}') != ${newLocation} ] ; then
-		echo "${dataSpace} is already defined and does not match ${newLocation}."
-		grep ${dataSpace} ${tempFile}
-		cleanPASSFILE
-		exit 0
-	fi
-else
-	psql -h ${phost} -p ${pport} -U ${clouderaUser} -d ${currDB} <<-EOT > ${tempFile}
-		CREATE TABLESPACE ${dataSpace} LOCATION '${newLocation}';
-		GRANT ALL ON TABLESPACE ${dataSpace} TO PUBLIC;
-		\q
-		EOT
-	if [ $(grep -c 'CREATE TABLESPACE' ${tempFile}) -ne 1 ] ; then
-		echo "Error creating tablespace ${dataSpace}"
-		cat ${tempFile}
-		cleanPASSFILE
-		exit 0
-	fi
-	exit 0
-fi
-
-#
-# Tablespace exists.
-# Now get list of tables and indexes and setup move.
-#
-for currDB in ${dbToMove}
-do
-    echo "ALTER DATABASE ${currDB} SET default_tablespace = ${dataSpace};" > ${tempFile}
-    while read -r parm1 parm2 objectName parmRest ; do
-        if [ ${#objectName} -gt 0 ] ; then
-            echo "ALTER TABLE ${objectName} set tablespace ${dataSpace};" >> ${tempFile}
-        fi
-    done <<< "$(psql -h ${phost} -p ${pport} -U ${clouderaUser} -d ${currDB} -q -t -c \\dt)"
-    while read -r parm1 parm2 objectName parmRest ; do
-        if [ ${#objectName} -gt 0 ] ; then
-            echo "ALTER INDEX ${objectName} set tablespace ${dataSpace};" >> ${tempFile}
-        fi
-    done <<< "$(psql -h ${phost} -p ${pport} -U ${clouderaUser} -d ${currDB} -q -t -c \\di)"
-
-    #
-    # Ready to apply changes.
-    #
-    psql -h ${phost} -p ${pport} -U ${clouderaUser} -d ${currDB} -a -f ${tempFile}
-    #cat ${tempFile}
-done
-
-cleanPASSFILE

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/54459952/install/installer/tools/cloudera_setup
----------------------------------------------------------------------
diff --git a/install/installer/tools/cloudera_setup b/install/installer/tools/cloudera_setup
deleted file mode 100755
index 51d1a3b..0000000
--- a/install/installer/tools/cloudera_setup
+++ /dev/null
@@ -1,198 +0,0 @@
-#!/bin/bash
-# @@@ START COPYRIGHT @@@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-# @@@ END COPYRIGHT @@@
-
-#  Setup Cloudera
-
-#==============================================
-# Default values
-typeset TRAF_WORKDIR="$( cd "$( dirname "$0" )" && pwd )/.."
-typeset timestamp=$(date +%F-%H-%M-%S)
-typeset SETUP_LOG="/var/log/trafodion/traf_cloudera_setup_$timestamp.log"
-
-CLOUDERA=$(rpm -qa | grep cloudera | wc -l)
-#==============================================
-
-function print_usage {
-cat << EOF
-This script will do the one-time setup needed
-to install Cloudera.
-
-NOTE: Please refer to the offical Cloudera documentation for questions. 
-
-Usage: $(basename $0) [options]
-
-Options:
-    --help                 Print this message and exit.
-
-EOF
-}
-
-#==============================================
-# Parse input parameters
-while [[ $# -gt 0 ]]; do
-    case "$1" in
-        --help)
-            print_usage
-            exit -1
-            ;;
-        *)
-         echo "***ERROR: unknown parameter '$1'"
-            print_usage
-            exit -1
-    esac
-    shift
-done
-#==============================================
-#Info for log file
-sudo mkdir -p /var/log/trafodion
-sudo chmod 777 /var/log/trafodion
-
-echo "***INFO: Log file located at /var/log/trafodion"
-echo "***Log File: trafodion_cloudera_setup script***" >> $SETUP_LOG
-echo >> $SETUP_LOG
-echo "Working directory: $TRAF_WORKDIR" >> $SETUP_LOG
-echo >> $SETUP_LOG
-
-#==============================================
-echo "***INFO: Checking the size of /var for Cloudera DB"
-
-var_min=20000000
-var_file='/var'
-var_lib_file='/var/lib'
-var_size=0
-var_on_root=0
-clouderadb_varfile="/var/lib/cloudera-scm-server-db"
-clouderadb_file="cloudera-scm-server-db"
-root="/"
-
-if [ -d ${var_file} ] ; then
-   df /var | grep var
-   if [ $? -eq 0 ] ; then
-      var_size=`df /var |grep var | tr -s [:space:] ':' | cut -d':' -f4`
-   else
-      var_size=`df / |grep dev | tr -s [:space:] ':' | cut -d':' -f4`
-      var_on_root=1
-   fi
-fi
-
-if [ -d ${clouderadb_varfile} ] ; then
-   echo "*** WARNING: /var/lib/cloudera-scm-server-db already exists." | tee -a $SETUP_LOG
-   if [ -h ${clouderadb_varfile} ] ; then
-      echo "*** WARNING: The /var/lib/cloudera-scm-server-db is a symbolic link to a cloudera-scm-server-db directory." | tee -a $SETUP_LOG
-      if ! [ -L ${clouderadb_varfile} ] ; then
-         echo "*** WARNING: The /var/lib/cloudera-scm-server-db exists but the matching cloudera-scm-server-db directory does not." | tee -a $SETUP_LOG
-         echo "*** WARNING: Check the desired location for cloudera-scm-servera-db directory and either establish a valid symbolic link to an existing directory or create the directory." | tee -a $SETUP_LOG
-      fi
-   elif [ ${var_on_root} -eq 0 ] ; then
-        if [ ${var_size} -lt ${var_min} ] ; then
-           echo "*** WARNING: There is insufficient space available for the Cloudera database on /var." | tee -a $SETUP_LOG
-           echo "*** WARNING: It is recommended to review the 'installer/unsupported_tools/clouderaMoveDB.sh script to move the database to a disk with more available space." | tee -a $SETUP_LOG
-        fi
-   else
-        echo "*** WARNING: /var/lib/cloudera-scm-server-db is already located directly on /." | tee -a $SETUP_LOG
-        echo "*** WARNING: No additional movement of the file is recommended." | tee -a $SETUP_LOG
-   fi
-else
-   if [ ${var_size} -lt ${var_min} ] ; then
-      echo "*** WARNING: There is insufficient space available for the Cloudera database on /var." | tee -a $SETUP_LOG
-      echo "*** WARNING: An attempt will be made to soft link the cloudera-scm-server-db directory to the / directory." | tee -a $SETUP_LOG
-      if [ $UID -ne 0 ] ; then
-         echo "*** WARNING: The cloudera-scm-server-db directory creation and soft linking must have root access." | tee -a $SETUP_LOG
-      else
-         if [ ! -d ${root}${clouderadb_file} ] ; then
-            mkdir ${root}${clouderadb_file}
-         fi
-         if [ ! -d ${var_lib_file} ] ; then
-            mkdir ${var_lib_file}
-         fi
-         ln -s ${root}${clouderadb_file} ${var_lib_file}
-         if [ $? -ne 0 ] ; then
-            echo "*** WARNING: The cloudera-scm-server-db directory was not successfully soft linked to /var/lib." | tee -a $SETUP_LOG
-         fi
-      fi
-   fi
-fi
-
-#==============================================
-cloudera_installed=$(rpm -qa | grep cloudera | wc -l )
-
-if [[ $cloudera_installed -eq 0 ]]; then
-
-   echo "***INFO: Installing Cloudera, will need browser access to complete" | tee -a $SETUP_LOG 
-
-   sudo rm -rf cloudera-manager-* 2>/dev/null
-
-   wget http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
-
-   if [ $? -ne 0 ]; then
-      echo "****ERROR: Time our error. Please check http_proxy settings." | tee -a $SETUP_LOG
-      echo "***ERROR: Exiting..." | tee -a $SETUP_LOG
-      echo
-      exit -1
-   fi
-   
-   sudo rm -rf oracle-j2sdk* 2>/dev/null
-   linuxInstalled=$(grep -cr SUSE /proc/version)
-   if [[ "$linuxInstalled" -eq "1" ]]; then
-      wget  http://archive.cloudera.com/cm5/sles/11/x86_64/cm/5.3.0/RPMS/x86_64/oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
-   else
-      if [[ ! -d /usr/java/jdk1.7.0_67-cloudera ]]; then
-         wget http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/RPMS/x86_64/oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm
-      fi
-   fi
-
-   if [ $? -ne 0 ]; then
-      echo "****ERROR: Time our error. Please check http_proxy settings." | tee -a $SETUP_LOG
-      echo "***ERROR: Exiting..." | tee -a $SETUP_LOG
-      echo
-      exit -1
-   fi
-
-   if [[ ! -d /usr/java/jdk1.7.0_67-cloudera ]]; then
-
-      sudo rpm -ivh oracle-j2sdk1.7-1.7.0+update67-1.x86_64.rpm 
-   fi
-
-   chmod +x cloudera-manager-installer.bin
-
-   echo -n "Setting up with a local repository? (Y/N) "
-   read answer
-
-   if [[ $answer != "Y" ]] && [[ $answer != "y" ]]; then
-      sudo ./cloudera-manager-installer.bin --i-agree-to-all-licenses --noreadme --noprompt
-   else
-      sudo ./cloudera-manager-installer.bin --i-agree-to-all-licenses --noreadme --noprompt --skip_repo_package=1
-   fi
-
-   if [ $? -ne 0 ]; then
-      echo "***ERROR: Error while installing Cloudera" | tee -a $SETUP_LOG
-      echo "***ERROR: Exiting..." | tee -a $SETUP_LOG
-      echo
-      exit -1
-   fi
-
-   echo "***INFO: Complete Cloudera setup from http://$(hostname --long):7180" | tee -a $SETUP_LOG 
-else
-   echo
-   echo "***INFO: Cloudera previously installed." | tee -a $SETUP_LOG
-fi
-#==============================================


Mime
View raw message