hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiny2 <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-81. Make resource manager to rej...
Date Mon, 26 Oct 2015 23:37:34 GMT
GitHub user jiny2 opened a pull request:


    HAWQ-81. Make resource manager to reject resource request when there …

    …are too many segments unavailable.
    This improvement makes HAWQ RM able to reject resource request directly if there are too
many segments unavailable. The expect cluster size is read from $GPHOME/etc/slaves. The new
guc name is hawq_rm_rejectrequest_nseg_limit. The default value is 2, i.e. if there are more
than 2 segments unavailable, HAWQ RM rejects the request directly. 
    The reject error message looks as below.
    postgres=# insert into t values(1);                                                  
    ERROR:  failed to acquire resource because of too many unavailable segments. (pquery.c:798)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jiny2/incubator-hawq HAWQ-81

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #43
commit b8678fd20197ceeb43045adbc12d0079bcadf42a
Author: Yi Jin <yjin@pivotal.io>
Date:   2015-10-26T23:33:15Z

    HAWQ-81. Make resource manager to reject resource request when there are too many segments


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message