You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yj...@apache.org on 2016/01/13 03:17:49 UTC
incubator-hawq git commit: HAWQ-325. In 3-node cluster HAWQ RM does
not allocate resource to queries if two nodes have no resource allocated from
YARN
Repository: incubator-hawq
Updated Branches:
refs/heads/master bee013732 -> 7a4c1c867
HAWQ-325. In 3-node cluster HAWQ RM does not allocate resource to queries if two nodes have no resource allocated from YARN
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/7a4c1c86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/7a4c1c86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/7a4c1c86
Branch: refs/heads/master
Commit: 7a4c1c867b42e020789f13b4eb55132f477f8a24
Parents: bee0137
Author: YI JIN <yj...@pivotal.io>
Authored: Wed Jan 13 13:17:32 2016 +1100
Committer: YI JIN <yj...@pivotal.io>
Committed: Wed Jan 13 13:17:32 2016 +1100
----------------------------------------------------------------------
src/backend/resourcemanager/resourcemanager.c | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7a4c1c86/src/backend/resourcemanager/resourcemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcemanager.c b/src/backend/resourcemanager/resourcemanager.c
index e1b1623..8a5b273 100644
--- a/src/backend/resourcemanager/resourcemanager.c
+++ b/src/backend/resourcemanager/resourcemanager.c
@@ -646,7 +646,6 @@ int MainHandlerLoop(void)
if ( PRESPOOL->Segments.NodeCount > 0 && PQUEMGR->RatioCount > 0 &&
PQUEMGR->toRunQueryDispatch &&
PQUEMGR->ForcedReturnGRMContainerCount == 0 &&
- PRESPOOL->AddPendingContainerCount == 0 &&
PRESPOOL->SlavesHostCount > 0 )
{
dispatchResourceToQueries();