You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by huor <gi...@git.apache.org> on 2016/04/01 03:49:00 UTC

[GitHub] incubator-hawq pull request: HAWQ-612. Improve error message if un...

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