You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2018/03/14 19:26:44 UTC

[4/5] trafodion git commit: fix based on review comments

fix based on review comments


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

Branch: refs/heads/master
Commit: 86ba12ec204600305ab495eb84e353dce0e38a32
Parents: b987fed
Author: Anuradha Hegde <an...@esgyn.com>
Authored: Tue Mar 13 20:40:29 2018 +0000
Committer: Anuradha Hegde <an...@esgyn.com>
Committed: Tue Mar 13 20:40:29 2018 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/dcscheck | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/86ba12ec/core/sqf/sql/scripts/dcscheck
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/dcscheck b/core/sqf/sql/scripts/dcscheck
index 6ac373b..914697c 100755
--- a/core/sqf/sql/scripts/dcscheck
+++ b/core/sqf/sql/scripts/dcscheck
@@ -70,12 +70,6 @@ if ( [ $sq_stat == 0 ] || [ $sq_stat == 1 ] ); then
 ### Get the list of DcsServer and DcsMaster
   $L_PDSH $jpscmd |/bin/egrep 'DcsMaster|DcsServer' > $tmpjps
 
-### Get the configured primary node for DcsMaster
-  if [ -s ${DCS_INSTALL_DIR}/conf/master ]; then
-     #primary_dcsmaster=`cat ${DCS_INSTALL_DIR}/conf/masters | /bin/egrep -v '^#|^$'`
-     primary_dcsmaster=`head -n 1 ${DCS_INSTALL_DIR}/conf/masters`
-  fi
-
 ### Get the configured number of DcsMaster's
   if [ -s ${DCS_INSTALL_DIR}/conf/masters ]; then
      let cfg_dcsmaster_cnt=`/bin/egrep -cv '#|^$' ${DCS_INSTALL_DIR}/conf/masters`
@@ -158,9 +152,6 @@ if ( [ $sq_stat == 0 ] || [ $sq_stat == 1 ] ); then
    masterport=`cat $dcstmp | /usr/bin/tail -n 1 | cut -d ":" -f2`
    if [ ! -z "$masterport" ]; then
      echo -e "DcsMaster listen port: $masterport\n"
-     if [[ ! -z "$primary_dcsmaster" ]]; then
-        echo "Configured Primary DcsMaster: \"$primary_dcsmaster\""
-     fi
      if [[ ! -z "$list_of_masters" ]]; then
         echo "Configured DcsMasters: \"$list_of_masters\""
      fi