hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@apache.org
Subject incubator-hawq git commit: HAWQ-48. Change warning log message to display correct numbers
Date Thu, 29 Oct 2015 02:26:52 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 0eb823e45 -> 122e75dff


HAWQ-48. Change warning log message to display correct numbers


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

Branch: refs/heads/master
Commit: 122e75dffb3b326fe5657e845c592b029a13b1a9
Parents: 0eb823e
Author: Yi Jin <yjin@pivotal.io>
Authored: Thu Oct 29 10:24:34 2015 +0800
Committer: Yi Jin <yjin@pivotal.io>
Committed: Thu Oct 29 10:24:34 2015 +0800

----------------------------------------------------------------------
 src/backend/resourcemanager/resqueuemanager.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/122e75df/src/backend/resourcemanager/resqueuemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resqueuemanager.c b/src/backend/resourcemanager/resqueuemanager.c
index fb01646..6b7a3ad 100644
--- a/src/backend/resourcemanager/resqueuemanager.c
+++ b/src/backend/resourcemanager/resqueuemanager.c
@@ -4090,10 +4090,12 @@ bool isResourceAcceptable(ConnectionTrack conn, int segnumact)
 		if ( PRESPOOL->SlavesHostCount - rm_tolerate_nseg_limit >
 			 list_length(conn->Resource) )
 		{
-			elog(WARNING, "Find virtual segments are dispatched to %d segments, "
-						  "less than %d",
-						  segnumact,
-						  list_length(conn->Resource));
+			elog(WARNING, "Find virtual segments are dispatched to %d segments in "
+						  "the cluster containing %d segments defined in slaves file. "
+						  "The number of excluded segments are more than %d.",
+						  list_length(conn->Resource),
+						  PRESPOOL->SlavesHostCount,
+						  rm_tolerate_nseg_limit);
 			return false;
 		}
 	}


Mime
View raw message