GitHub user jiny2 opened a pull request:

    https://github.com/apache/incubator-hawq/pull/43

    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:

    https://github.com/apache/incubator-hawq/pull/43.patch

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 <[email protected]>
Date:   2015-10-26T23:33:15Z

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

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to