hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esp...@apache.org
Subject [39/50] [abbrv] incubator-hawq git commit: HAWQ-1285. resource manager outputs uninitialized string as host name
Date Fri, 03 Feb 2017 09:00:41 GMT
HAWQ-1285. resource manager outputs uninitialized string as host name


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

Branch: refs/heads/2.1.0.0-incubating
Commit: d2608dec4df52297b883e16893f2fda75242264c
Parents: 5da0476
Author: Yi <yjin@pivotal.io>
Authored: Mon Jan 23 15:25:39 2017 +1100
Committer: Yi <yjin@pivotal.io>
Committed: Mon Jan 23 15:25:39 2017 +1100

----------------------------------------------------------------------
 src/backend/resourcemanager/resourcepool.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d2608dec/src/backend/resourcemanager/resourcepool.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcepool.c b/src/backend/resourcemanager/resourcepool.c
index 755a4ab..db52a54 100644
--- a/src/backend/resourcemanager/resourcepool.c
+++ b/src/backend/resourcemanager/resourcepool.c
@@ -4697,10 +4697,10 @@ void adjustSegmentStatGRMCapacity(SegStat segstat)
 		if ( oldmemorymb != segstat->GRMTotalMemoryMB ||
 			 oldcore	 != segstat->GRMTotalCore )
 		{
-			elog(LOG, "Resource manager adjusts segment %s original global resource "
-					  "manager resource capacity from (%d MB, %d CORE) to "
-					  "(%d MB, %d CORE)",
-					  GET_SEGINFO_HOSTNAME(&(segstat->Info)),
+			elog(LOG, "resource manager adjusts segment %s resource capacity "
+					  "from (%d MB, %d CORE) to (%d MB, %d CORE) from the "
+					  "cluster report of global resource manager",
+					  GET_SEGINFO_GRMHOSTNAME(&(segstat->Info)),
 					  oldmemorymb,
 					  oldcore,
 					  segstat->GRMTotalMemoryMB,


Mime
View raw message