[ 
https://issues.apache.org/jira/browse/HAWQ-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977571#comment-14977571
 ] 

ASF GitHub Bot commented on HAWQ-48:
------------------------------------

Github user wangzw commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/44#issuecomment-151699653
  
    looks good. +1


> Change warning log message to display correct numbers.
> ------------------------------------------------------
>
>                 Key: HAWQ-48
>                 URL: https://issues.apache.org/jira/browse/HAWQ-48
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Resource Manager
>            Reporter: Yi Jin
>            Assignee: Yi Jin
>            Priority: Minor
>
>  if ( segnumact > list_length(conn->Resource) )
>        {
>                if ( PRESPOOL->SlavesHostCount - rm_tolerate_nseg_limit >
>                         list_length(conn->Resource) )
>                {
>                        elog(WARNING, "Find virtual segments are dispatched to 
> %d segments, "
>                                                  "less than %d",
>                                                  segnumact,
>                                                  list_length(conn->Resource));
>                        return false;
>                }
>        }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to