You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2015/10/28 03:41:11 UTC

[4/4] incubator-trafodion git commit: Moved sqgen step after dcsinstaller and restinstaller

Moved sqgen step after dcsinstaller and restinstaller


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

Branch: refs/heads/master
Commit: 397e06b16777932c0ccb1d23ab08996046de0e97
Parents: 6046ef7
Author: Anuradha Hegde <he...@dev02.trafodion.org>
Authored: Tue Oct 27 22:33:21 2015 +0000
Committer: Anuradha Hegde <he...@dev02.trafodion.org>
Committed: Tue Oct 27 22:33:21 2015 +0000

----------------------------------------------------------------------
 install/installer/traf_start | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/397e06b1/install/installer/traf_start
----------------------------------------------------------------------
diff --git a/install/installer/traf_start b/install/installer/traf_start
index 2c8f54f..ad393a2 100755
--- a/install/installer/traf_start
+++ b/install/installer/traf_start
@@ -198,21 +198,6 @@ if [ "$node_count" -ne "1" ]; then
    fi
 fi
 
-echo "***INFO: starting sqgen" | tee -a $INSTALL_LOG
-cd $MY_SQROOT/sql/scripts
-sqgen
-SQGEN_RC=$?
-if [ "$SQGEN_RC" != "0" ]; then
-    echo "***ERROR: sqgen failed with RC=$SQGEN_RC. Check install log file for details." | tee -a $INSTALL_LOG
-    exit -1;
-fi
-#==========================================
-
-if [ "$node_count" -ne "1" ]; then
-    echo "***INFO: copying $HOME/sqcert directory to all nodes" | tee -a $INSTALL_LOG
-    $PDCP $MY_NODES -x $HOSTNAME -r $HOME/sqcert $HOME
-fi
-
 #==========================================
 # install dcs
 
@@ -234,6 +219,22 @@ if [ ! -z $REST_BUILD ]; then
 fi
 
 #==========================================
+echo "***INFO: starting sqgen" | tee -a $INSTALL_LOG
+cd $MY_SQROOT/sql/scripts
+sqgen
+SQGEN_RC=$?
+if [ "$SQGEN_RC" != "0" ]; then
+    echo "***ERROR: sqgen failed with RC=$SQGEN_RC. Check install log file for details." | tee -a $INSTALL_LOG
+    exit -1;
+fi
+#==========================================
+
+if [ "$node_count" -ne "1" ]; then
+    echo "***INFO: copying $HOME/sqcert directory to all nodes" | tee -a $INSTALL_LOG
+    $PDCP $MY_NODES -x $HOSTNAME -r $HOME/sqcert $HOME
+fi
+
+#==========================================
 
 if [ "$node_count" -ne "1" ]; then
    echo "***INFO: copying install to all nodes" | tee -a $INSTALL_LOG