hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huor <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-612. Improve error message if un...
Date Fri, 01 Apr 2016 01:49:00 GMT
Github user huor commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/539#issuecomment-204204473
  
    +1. It is better to refine the message as below
    {code}
     		snprintf(errorbuf, sizeof(errorbuf),
     				 "%d of %d %s unavailable, exceeds %.1f%% defined in GUC hawq_rm_rejectrequest_nseg_limit.
"
     				 "The allocation request is rejected.",
      				 unavailcount,
      				 PRESPOOL->SlavesHostCount,
    				 unavailcount == 1 ? "segment is " : "segments are ",
     				 rm_rejectrequest_nseg_limit*100.0);
    {code}


---
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.
---

Mime
View raw message