hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14215) Default cost used for PrimaryRegionCountSkewCostFunction is not sufficient
Date Wed, 12 Aug 2015 03:41:45 GMT

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

Hadoop QA commented on HBASE-14215:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12749992/14215-v1.txt
  against master branch at commit 135451477f2e4e95a69033c47523ea063f67b5e2.
  ATTACHMENT ID: 12749992

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 hadoop versions{color}. The patch compiles with all supported hadoop versions
(2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.7.0)

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 protoc{color}.  The applied patch does not increase the total number of
protoc compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 checkstyle{color}.  The applied patch does not increase the total number
of checkstyle errors

    {color:green}+1 findbugs{color}.  The patch does not introduce any  new Findbugs (version
2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

  {color:green}+1 site{color}.  The mvn post-site goal succeeds with this patch.

     {color:red}-1 core tests{color}.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.util.TestProcessBasedCluster
                  org.apache.hadoop.hbase.mapreduce.TestImportExport

     {color:red}-1 core zombie tests{color}.  There are 5 zombie test(s): 	at org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase.testScan(TestTableInputFormatScanBase.java:244)
	at org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2.testScanOPPToEmpty(TestTableInputFormatScan2.java:70)
	at org.apache.hadoop.hbase.mapreduce.TestImportTsv.testBulkOutputWithAnExistingTableNoStrictTrue(TestImportTsv.java:203)
	at org.apache.hadoop.hbase.mapreduce.TestImportExport.testImport94Table(TestImportExport.java:231)

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/15064//testReport/
Release Findbugs (version 2.0.3) 	warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/15064//artifact/patchprocess/newFindbugsWarnings.html
Checkstyle Errors: https://builds.apache.org/job/PreCommit-HBASE-Build/15064//artifact/patchprocess/checkstyle-aggregate.html

  Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/15064//console

This message is automatically generated.

> Default cost used for PrimaryRegionCountSkewCostFunction is not sufficient 
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-14215
>                 URL: https://issues.apache.org/jira/browse/HBASE-14215
>             Project: HBase
>          Issue Type: Bug
>          Components: Balancer
>            Reporter: Biju Nair
>            Priority: Minor
>         Attachments: 14215-v1.txt
>
>
> Current multiplier of 500 used in the stochastic balancer cost function ``PrimaryRegionCountSkewCostFunction``
to calculate the cost of  total primary replication skew doesn't seem to be sufficient to
prevent the skews (Refer HBASE-14110). We would want the default cost to be a higher value
so that skews in primary region replica has higher cost. The following is the test result
by setting the multiplier value to 10000 (same as the region replica rack cost multiplier)
on a 3 Rack 9 RS node cluster which seems to get the balancer distribute the primaries uniformly.
> *Initial Primary replica distribution - using the current multiplier*	
>  r1n10  102
>  r1n11  85
>  r1n9    88
>  r2n10  120
>  r2n11  120
>  r2n9   124
>  r3n10  135
>  r3n11  124
>  r3n9    129
> *After long duration of read & writes - using current multiplier*	
>  r1n10  102
>  r1n11  85
>  r1n9    88
>  r2n10  120
>  r2n11  120
>  r2n9    124
>  r3n10  135
>  r3n11  124
>  r3n9    129
> *After manual balancing* 	
>  r1n10  102
>  r1n11  85
>  r1n9    88
>  r2n10  120
>  r2n11  120
>  r2n9    124
>  r3n10  135
>  r3n11  124
>  r3n9    129
> *Increased multiplier for primaryRegionCountSkewCost to 10000*	
>  r1n10  114
>  r1n11  113
>  r1n9    114
>  r2n10  114
>  r2n11  114
>  r2n9    113
>  r3n10  115
>  r3n11  115
>  r3n9    115 
> Setting the `PrimaryRegionCountSkewCostFunction` multiplier value to 10000 should help
HBase general use.



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

Mime
View raw message