You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nicolas Spiegelberg (Created) (JIRA)" <ji...@apache.org> on 2011/11/11 02:23:52 UTC

[jira] [Created] (HBASE-4771) Script to List HRegion Availability

Script to List HRegion Availability
-----------------------------------

                 Key: HBASE-4771
                 URL: https://issues.apache.org/jira/browse/HBASE-4771
             Project: HBase
          Issue Type: Improvement
    Affects Versions: 0.94.0
            Reporter: Nicolas Spiegelberg
            Assignee: Nicolas Spiegelberg
            Priority: Minor


One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Phabricator updated HBASE-4771:
-------------------------------

    Attachment: D399.1.patch

nspiegelberg requested code review of "[jira] [HBASE-4771] List HBase Region availability".
Reviewers: stack, Kannan, JIRA

  One critical feature necessary to completely automate
  production pushes is the ability to recognize when HBase has
  successfully made all regions available for reads/writes (step prior to
  HBCK).  Created script to display region availability status and stall
  until all onlined regions are actually available.

TEST PLAN
  - bin/hbase org.jruby.Main bin/region_status.rb wait

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

AFFECTED FILES
  bin/region_status.rb

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

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

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

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>         Attachments: D399.1.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Phabricator updated HBASE-4771:
-------------------------------

    Attachment: D399.2.patch

nspiegelberg updated the revision "[jira] [HBASE-4771] List HBase Region availability".
Reviewers: stack, Kannan, JIRA

  Also pulling in subsequent patch: "Enhance region_status.rb to report status of a single table."

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

AFFECTED FILES
  bin/region_status.rb

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Hudson commented on HBASE-4771:
-------------------------------

Integrated in HBase-TRUNK #2453 (See [https://builds.apache.org/job/HBase-TRUNK/2453/])
    [jira] [HBASE-4771] List HBase Region availability

Summary:
One critical feature necessary to completely automate
production pushes is the ability to recognize when HBase has
successfully made all regions available for reads/writes (step prior to
HBCK).  Created script to display region availability status and stall
until all onlined regions are actually available.

Test Plan: - bin/hbase org.jruby.Main bin/region_status.rb wait

Reviewers: stack, Kannan, JIRA

Reviewed By: stack

CC: stack

Differential Revision: 399

karthik : 
Files : 
* /hbase/trunk/bin/region_status.rb

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Phabricator commented on HBASE-4771:
------------------------------------

stack has accepted the revision "[jira] [HBASE-4771] List HBase Region availability".

INLINE COMMENTS
  bin/region_status.rb:1 Missing apache license.  Can add on commit.

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

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Nicolas Spiegelberg commented on HBASE-4771:
--------------------------------------------

Part of 89-fb to 92 port.  See r1181545 in 89-fb.  For our internal implementation, we made a Ruby Script to accomplish this that polls the region assignment state in META.  A more permanent solution would be to provide a checkRegionAvailability() API in HBaseAdmin that would directly contact the master for this information.
                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Hudson commented on HBASE-4771:
-------------------------------

Integrated in HBase-0.92 #142 (See [https://builds.apache.org/job/HBase-0.92/142/])
    HBASE-4771 Script to List HRegion Availability

stack : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/bin/region_status.rb

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Nicolas Spiegelberg commented on HBASE-4771:
--------------------------------------------

sounds good.  I'm going to have Karthik commit
                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

Phabricator commented on HBASE-4771:
------------------------------------

nspiegelberg has committed the revision "[jira] [HBASE-4771] List HBase Region availability".

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

COMMIT
  https://reviews.facebook.net/rHBASE1203396

                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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-4771) Script to List HRegion Availability

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

stack updated HBASE-4771:
-------------------------

    Fix Version/s:     (was: 0.94.0)
                   0.92.0

Applied to 0.92 too... useful util.
                
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.92.0
>
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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] [Resolved] (HBASE-4771) Script to List HRegion Availability

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

Karthik Ranganathan resolved HBASE-4771.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.0
    
> Script to List HRegion Availability
> -----------------------------------
>
>                 Key: HBASE-4771
>                 URL: https://issues.apache.org/jira/browse/HBASE-4771
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.94.0
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: D399.1.patch, D399.2.patch
>
>
> One critical feature necessary to completely automate production pushes is the ability to recognize when HBase has successfully made all regions available for reads/writes (step prior to HBCK).  Created script to display region availability status and stall until all onlined regions are actually available.

--
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