You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jieshan Bean (Created) (JIRA)" <ji...@apache.org> on 2011/10/25 08:02:32 UTC

[jira] [Created] (HBASE-4669) Suggest to add a choice of using round-robin assignment on enable-table

Suggest to add a choice of using round-robin assignment on enable-table
-----------------------------------------------------------------------

                 Key: HBASE-4669
                 URL: https://issues.apache.org/jira/browse/HBASE-4669
             Project: HBase
          Issue Type: Improvement
          Components: master
    Affects Versions: 0.90.4, 0.94.0
            Reporter: Jieshan Bean
            Priority: Minor
             Fix For: 0.94.0, 0.90.5


Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable using the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.

So I suggest to add a choice of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137411#comment-13137411 ] 

stack commented on HBASE-4669:
------------------------------

Then I do not think your patch responsible for the above test failures.  The CP ones have started to show up of late.  I'm on the distributed log splitting one.  The TestAdmin I do not know whats going on there.  I'd commit.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Jieshan Bean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jieshan Bean updated HBASE-4669:
--------------------------------

    Attachment: HBASE-4669-Trunk-V2.patch
                HBASE-4669-90.patch

{noformat}
Do we have to introduce assignUserRegionsToOnlineServers() ?
{noformat}
I think it's necessary. assignUserRegionsToOnlineServers is a polymorphic method of assignUserRegions. But it can get the online servers first.

{noformat}
I don't think IOE should be swallowed:
{noformat}
Yes, I agree with it. I've changed it in v2.

                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "ramkrishna.s.vasudevan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140401#comment-13140401 ] 

ramkrishna.s.vasudevan commented on HBASE-4669:
-----------------------------------------------

+1 on patch if tests passes.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Attachment:     (was: HBASE-4669-Trunk-V2.patch)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Attachment: HBASE-4669-Trunk-V2.patch
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135697#comment-13135697 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

Do we have to introduce assignUserRegionsToOnlineServers() ?
We already have:
{code}
  public void assignUserRegions(List<HRegionInfo> regions, List<ServerName> servers)
{code}

I don't think IOE should be swallowed:
{code}
+        try {
+          assignmentManager.assignUserRegionsToOnlineServers(regions);
+        } catch (IOException e) {
+          LOG.error("Error while assigning user regions to online servers", e);
+        } catch (InterruptedException e) {
{code}

Please add javadoc for the new unit test.

Publishing on reviewboard would allow more people to comment.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Fix Version/s:     (was: 0.90.5)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Status: Open  (was: Patch Available)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Jieshan Bean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jieshan Bean updated HBASE-4669:
--------------------------------

    Attachment: HBASE-4669-Trunk-V2.patch
                HBASE-4669-90-V2.patch
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Release Note: 
A new config parameter, hbase.master.enabletable.roundrobin, was introduced in this JIRA.
The default value is false and old behavior is kept.
When set true, regions of the table being enabled are assigned round-robin across the cluster.
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Status: Patch Available  (was: Open)

Patch testing.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137372#comment-13137372 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

I ran the following tests on MacBook with patch v2 and they passed:
{code}
  558  mvn clean test -Dtest=TestAdmin
  560  mvn test -Dtest=TestMasterFailover
  561  mvn test -Dtest=TestDistributedLogSplitting
{code}
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137224#comment-13137224 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

+1 on patch v2 for TRUNK.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Description: 
Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.

So I suggest to add an option of using round-robin assignment on enable-table. 

  was:
Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable using the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.

So I suggest to add a choice of using round-robin assignment on enable-table. 

        Summary: Add an option of using round-robin assignment for enabling table  (was: Suggest to add a choice of using round-robin assignment on enable-table)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140541#comment-13140541 ] 

Hadoop QA commented on HBASE-4669:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12501649/HBASE-4669-Trunk-V2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated -166 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 2 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.master.TestDistributedLogSplitting
                  org.apache.hadoop.hbase.master.TestMasterFailover

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/112//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/112//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/112//console

This message is automatically generated.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137119#comment-13137119 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

Since this is an improvement, no patch for 0.90 is needed. 
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4669:
--------------------------

    Status: Patch Available  (was: Open)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135810#comment-13135810 ] 

jiraposter@reviews.apache.org commented on HBASE-4669:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2568/#review2852
-----------------------------------------------------------



/src/main/java/org/apache/hadoop/hbase/master/handler/EnableTableHandler.java
<https://reviews.apache.org/r/2568/#comment6386>

    Please add enclosing curly braces for line 179.



/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java
<https://reviews.apache.org/r/2568/#comment6387>

    I think setting "hbase.master.enabletable.roundrobin" should be done in this method.


- Ted


On 2011-10-26 06:51:56, Jieshan Bean wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2568/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-10-26 06:51:56)
bq.  
bq.  
bq.  Review request for Ted Yu, Michael Stack and ramkrishna vasudevan.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
bq.  
bq.  So I suggest to add an option of using round-robin assignment on enable-table. 
bq.  
bq.  
bq.  This addresses bug HBASE-4669.
bq.      https://issues.apache.org/jira/browse/HBASE-4669
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java 1188986 
bq.    /src/main/java/org/apache/hadoop/hbase/master/BulkAssigner.java 1188986 
bq.    /src/main/java/org/apache/hadoop/hbase/master/BulkReOpen.java 1188986 
bq.    /src/main/java/org/apache/hadoop/hbase/master/handler/EnableTableHandler.java 1188986 
bq.    /src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java 1188986 
bq.  
bq.  Diff: https://reviews.apache.org/r/2568/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Jieshan
bq.  
bq.


                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140544#comment-13140544 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

The test failures were due to 'Too many open files'
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Jieshan Bean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jieshan Bean updated HBASE-4669:
--------------------------------

    Attachment: HBASE-4669-Trunk.patch
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135754#comment-13135754 ] 

jiraposter@reviews.apache.org commented on HBASE-4669:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2568/
-----------------------------------------------------------

Review request for Ted Yu, Michael Stack and ramkrishna vasudevan.


Summary
-------

Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.

So I suggest to add an option of using round-robin assignment on enable-table. 


This addresses bug HBASE-4669.
    https://issues.apache.org/jira/browse/HBASE-4669


Diffs
-----

  /src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java 1188986 
  /src/main/java/org/apache/hadoop/hbase/master/BulkAssigner.java 1188986 
  /src/main/java/org/apache/hadoop/hbase/master/BulkReOpen.java 1188986 
  /src/main/java/org/apache/hadoop/hbase/master/handler/EnableTableHandler.java 1188986 
  /src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java 1188986 

Diff: https://reviews.apache.org/r/2568/diff


Testing
-------


Thanks,

Jieshan


                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140551#comment-13140551 ] 

Ted Yu commented on HBASE-4669:
-------------------------------

Integrated to TRUNK.

Thanks for the patch Jieshan.

Thanks for the review Ramkrishna.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140688#comment-13140688 ] 

Hudson commented on HBASE-4669:
-------------------------------

Integrated in HBase-TRUNK #2393 (See [https://builds.apache.org/job/HBase-TRUNK/2393/])
    HBASE-4669  Add an option of using round-robin assignment for enabling table
               (Jieshan Bean)

tedyu : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/BulkAssigner.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/BulkReOpen.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/handler/EnableTableHandler.java
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java

                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137337#comment-13137337 ] 

Hadoop QA commented on HBASE-4669:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12501068/HBASE-4669-Trunk-V2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 javadoc.  The javadoc tool appears to have generated -167 warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.master.TestMasterFailover
                  org.apache.hadoop.hbase.client.TestAdmin
                  org.apache.hadoop.hbase.master.TestDistributedLogSplitting
                  org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/78//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/78//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/78//console

This message is automatically generated.
                
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Jieshan Bean (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jieshan Bean updated HBASE-4669:
--------------------------------

    Attachment:     (was: HBASE-4669-Trunk-V2.patch)
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0, 0.90.5
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HBASE-4669) Add an option of using round-robin assignment for enabling table

Posted by "Ted Yu (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu reassigned HBASE-4669:
-----------------------------

    Assignee: Jieshan Bean
    
> Add an option of using round-robin assignment for enabling table
> ----------------------------------------------------------------
>
>                 Key: HBASE-4669
>                 URL: https://issues.apache.org/jira/browse/HBASE-4669
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 0.90.4, 0.94.0
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4669-90-V2.patch, HBASE-4669-90.patch, HBASE-4669-Trunk-V2.patch, HBASE-4669-Trunk.patch
>
>
> Under some scenarios, we use the function of disable/enable HTable. But currently, enable HTable uses the random-assignment. We hope all the regions show a better distribution, no matter how many regions and how many regionservers.
> So I suggest to add an option of using round-robin assignment on enable-table. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira