hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iw...@apache.org
Subject incubator-hawq git commit: HAWQ-1162. Resource manager does not reference dynamic minimum water level of each segment when it times out YARN containers
Date Tue, 22 Nov 2016 02:41:41 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 93f2983dc -> d8d597499


HAWQ-1162. Resource manager does not reference dynamic minimum water level of each segment
when it times out YARN containers


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

Branch: refs/heads/master
Commit: d8d597499af46300e35590f18a65910df8a62fed
Parents: 93f2983
Author: amyrazz44 <abai@pivotal.io>
Authored: Sun Nov 20 19:39:17 2016 +0800
Committer: amyrazz44 <abai@pivotal.io>
Committed: Tue Nov 22 10:19:22 2016 +0800

----------------------------------------------------------------------
 src/backend/resourcemanager/resourcepool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d8d59749/src/backend/resourcemanager/resourcepool.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcepool.c b/src/backend/resourcemanager/resourcepool.c
index 567b295..22bc0eb 100644
--- a/src/backend/resourcemanager/resourcepool.c
+++ b/src/backend/resourcemanager/resourcepool.c
@@ -3545,7 +3545,7 @@ void timeoutIdleGRMResourceToRB(void)
 			timeoutIdleGRMResourceToRBByRatio(i,
 										   	  retcontnum,
 											  &realretcontnum,
-											  mark->ClusterVCore > 0 ? 2 : 0 );
+											  mark->ClusterVCore > 0 ? PQUEMGR->ActualMinGRMContainerPerSeg : 0 );
 			if ( realretcontnum > 0 )
 			{
 				/* Notify resource queue manager to minus allocated resource.*/


Mime
View raw message