You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by sv...@apache.org on 2016/11/18 23:34:07 UTC

[3/4] incubator-trafodion git commit: [TRAFODION-2256] installer should not flag already initialized as failure

[TRAFODION-2256] installer should not flag already initialized as failure


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

Branch: refs/heads/master
Commit: 31067c0113b76758bd26a8906f0b968cd5e655c1
Parents: a9c039d
Author: Steve Varnau <sv...@apache.org>
Authored: Tue Nov 15 22:05:34 2016 +0000
Committer: Steve Varnau <sv...@apache.org>
Committed: Tue Nov 15 22:05:34 2016 +0000

----------------------------------------------------------------------
 install/installer/traf_start | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/31067c01/install/installer/traf_start
----------------------------------------------------------------------
diff --git a/install/installer/traf_start b/install/installer/traf_start
index e852b5c..414ae29 100755
--- a/install/installer/traf_start
+++ b/install/installer/traf_start
@@ -58,7 +58,7 @@ else
        error1392=$(grep "1392" $SQ_ROOT/initializeErrors.txt | wc -l)
        error1395=$(grep "1395" $SQ_ROOT/initializeErrors.txt | wc -l)
        if [ "$error1395" -ge "1" ] || [ "$error1392" -ge "1" ]; then
-          ssh $STARTING_NODE "cd $SQ_ROOT/sql/scripts;  echo \"get version of metadata;\" | sqlci" | tee -a $SQ_ROOT/initializeErrors.txt
+           ssh $STARTING_NODE "cd $SQ_ROOT/sql/scripts;  echo \"get version of metadata;\" | sqlci" | tee $SQ_ROOT/initializeErrors.txt
            metadataCurrent=$(grep "Metadata is current" $SQ_ROOT/initializeErrors.txt | wc -l)
            if [[ "$metadataCurrent" -ne "1" ]]; then
               ssh $STARTING_NODE "cd $SQ_ROOT/sql/scripts;  echo \"initialize Trafodion, upgrade;\" | sqlci" | tee $SQ_ROOT/initializeErrors.txt