trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sure...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2473] sqnodestatus report wrong status if ssh banner is configured.
Date Thu, 16 Feb 2017 16:37:34 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master da2bd7b0f -> 4cc4305c7


[TRAFODION-2473] sqnodestatus report wrong status if ssh banner is configured.


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

Branch: refs/heads/master
Commit: a265a2176c4189d5ba9fb49080f2cb2f8f06c310
Parents: 18cc630
Author: Eason <hfutmkby@gmail.com>
Authored: Fri Feb 10 21:35:12 2017 +0800
Committer: Eason <hfutmkby@gmail.com>
Committed: Fri Feb 10 21:35:12 2017 +0800

----------------------------------------------------------------------
 core/sqf/sql/scripts/sqnodestatus | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/a265a217/core/sqf/sql/scripts/sqnodestatus
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/sqnodestatus b/core/sqf/sql/scripts/sqnodestatus
index 4b62af7..0050b53 100755
--- a/core/sqf/sql/scripts/sqnodestatus
+++ b/core/sqf/sql/scripts/sqnodestatus
@@ -84,7 +84,7 @@ sub check_node_status($)
     my $node_id, $node_status;
     my $check_node=shift;
     #print "node=${check_node}\n";
-    my $command="ssh -M $sq_mon_ssh_options $check_node hostname 2>&1";
+    my $command="ssh -M -q $sq_mon_ssh_options $check_node hostname 2>&1";
     #print "command=${command}\n";
     my $down_character="ssh:";
     #print "down_character=${down_character}\n";


Mime
View raw message