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-674. Wrongly validate an incomplete resource pool status when GRM is not available
Date Thu, 14 Apr 2016 09:22:52 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 81caf811e -> 14359278d


HAWQ-674. Wrongly validate an incomplete resource pool status when GRM is not available


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

Branch: refs/heads/master
Commit: 14359278d94a9611f5abf7cbdf49675a5e8e35fa
Parents: 81caf81
Author: YI JIN <yjin@pivotal.io>
Authored: Thu Apr 14 19:22:25 2016 +1000
Committer: YI JIN <yjin@pivotal.io>
Committed: Thu Apr 14 19:22:25 2016 +1000

----------------------------------------------------------------------
 src/backend/resourcemanager/resourcemanager.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/14359278/src/backend/resourcemanager/resourcemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcemanager.c b/src/backend/resourcemanager/resourcemanager.c
index b3b10a2..6e9e365 100644
--- a/src/backend/resourcemanager/resourcemanager.c
+++ b/src/backend/resourcemanager/resourcemanager.c
@@ -2634,7 +2634,8 @@ void setAllNodesGRMDown()
 
 		if (oldDesc != node->Stat->StatusDesc)
 		{
-			elog(WARNING, "Resource manager sets host %s DOWN in cleanup phase for resource broker
error.",
+			elog(WARNING, "Resource manager sets host %s down in cleanup phase "
+						  "for resource broker error.",
 						  GET_SEGRESOURCE_HOSTNAME(node));
 		}
 	}
@@ -2644,8 +2645,6 @@ void setAllNodesGRMDown()
 		refreshResourceQueueCapacity(false);
 		refreshActualMinGRMContainerPerSeg();
 	}
-
-	validateResourcePoolStatus(true);
 }
 
 /**


Mime
View raw message