You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Liyin Tang (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 01:48:48 UTC

[jira] [Created] (HBASE-5438) A tool to check region balancing for a particular table

A tool to check region balancing for a particular table
-------------------------------------------------------

                 Key: HBASE-5438
                 URL: https://issues.apache.org/jira/browse/HBASE-5438
             Project: HBase
          Issue Type: Improvement
            Reporter: Liyin Tang
            Assignee: Liyin Tang


When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.


bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Liyin Tang updated HBASE-5438:
------------------------------

    Attachment: 0001-hbase-5438.patch
    
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: 0001-hbase-5438.patch, D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

stack has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Looks good.

  I think the thought is that we do not check in these jruby scripts any more because they have a tendency to rot as APIs change, etc.  Attach the script to the issue for folks who need this facility?   Or what do you think Liyin?

INLINE COMMENTS
  bin/region_balance_checker.rb:46 THis can be null sometimes seemingly so do a getHRegionInfoOrNull instead and check for null when it comes back?

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

stack has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Looks good.

  I think the thought is that we do not check in these jruby scripts any more because they have a tendency to rot as APIs change, etc.  Attach the script to the issue for folks who need this facility?   Or what do you think Liyin?

INLINE COMMENTS
  bin/region_balance_checker.rb:46 THis can be null sometimes seemingly so do a getHRegionInfoOrNull instead and check for null when it comes back?

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

Liyin has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Cool! I will address your comments and attach to the jira :)
  Thanks Stack !

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator updated HBASE-5438:
-------------------------------

    Attachment: D1827.1.patch

Liyin requested code review of "[HBASE-5438][jira] A tool to check region balancing for a particular table".
Reviewers: Kannan, Karthik

  When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.

  bin/hbase org.jruby.Main region_balance_checker.rb test_table

TEST PLAN
  tested on dev cluster

REVISION DETAIL
  https://reviews.facebook.net/D1827

AFFECTED FILES
  bin/region_balance_checker.rb

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/3897/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

Liyin has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Cool! I will address your comments and attach to the jira :)
  Thanks Stack !

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

Liyin has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Cool! I will address your comments and attach to the jira :)
  Thanks Stack !

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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-5438) A tool to check region balancing for a particular table

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

Phabricator commented on HBASE-5438:
------------------------------------

stack has commented on the revision "[HBASE-5438][jira] A tool to check region balancing for a particular table".

  Looks good.

  I think the thought is that we do not check in these jruby scripts any more because they have a tendency to rot as APIs change, etc.  Attach the script to the issue for folks who need this facility?   Or what do you think Liyin?

INLINE COMMENTS
  bin/region_balance_checker.rb:46 THis can be null sometimes seemingly so do a getHRegionInfoOrNull instead and check for null when it comes back?

REVISION DETAIL
  https://reviews.facebook.net/D1827

                
> A tool to check region balancing for a particular table
> -------------------------------------------------------
>
>                 Key: HBASE-5438
>                 URL: https://issues.apache.org/jira/browse/HBASE-5438
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liyin Tang
>            Assignee: Liyin Tang
>         Attachments: D1827.1.patch, D1827.1.patch, D1827.1.patch
>
>
> When debugging the table level region imbalance problem, I write a tool to check how the region balanced across all the region server for a particular table.
> bin/hbase org.jruby.Main region_balance_checker.rb test_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