nkeywal created HBASE-7988:
------------------------------

             Summary: Confusing log messages in assignment
                 Key: HBASE-7988
                 URL: https://issues.apache.org/jira/browse/HBASE-7988
             Project: HBase
          Issue Type: Bug
          Components: Region Assignment
    Affects Versions: 0.98.0
            Reporter: nkeywal
            Priority: Minor


This appears in 7840, where we kill one server with 10 regions out of two 
servers.

I don't know why we explicitly test against 1 server here.
{code}
    int servers = bulkPlan.size();
    if (servers == 1 || (regions < bulkAssignThresholdRegions
        && servers < bulkAssignThresholdServers)) {
{code}

At the end, the logs says once we're using bulk, once we're not:
2013-03-04 15:31:19,339 INFO org.apache.hadoop.hbase.master.AssignmentManager: 
Not use bulk assigning since we are assigning only 10 region(s) to 1 server(s)
2013-03-04 15:31:19,339 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: 
Bulk assigning 10 region(s) to box1,60020,1362407279158


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to