hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6283) [region_mover.rb] Add option to exclude list of hosts on unload instead of just assuming the source node.
Date Sat, 30 Jun 2012 16:03:45 GMT

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

stack commented on HBASE-6283:

This should IOError or whatever the ruby equiv of FNFE is:

+  if ! File.exist?(filename)  
+      return java.util.ArrayList.new()

... rather than just return empty array?

Else looks good to me.

Does this change relate to Aravind's work?  See down in his blog where he says:

"The region_mover.rb script is an extension of the standard region_mover.rb that ships with
stock HBase. I hacked it a little to add slow balancing support and automatic region balancing
while unloading regions from a server. This version is also aware of draining servers and
avoids them during region assignment and balancing. Again, look for the older commit if you
want to use this with 0.90.x HBase releases. The latest version is for the 0.92 release."

> [region_mover.rb] Add option to exclude list of hosts on unload instead of just assuming
the source node.
> ---------------------------------------------------------------------------------------------------------
>                 Key: HBASE-6283
>                 URL: https://issues.apache.org/jira/browse/HBASE-6283
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>              Labels: jruby
>         Attachments: hbase-6283.patch
> Currently, the region_mover.rb script excludes a single host, the host offloading data,
as a region move target.  This essentially limits the number of machines that can be shutdown
at a time to one.  For larger clusters, it is manageable to have several nodes down at a time
and desirable to get this process done more quickly.
> The proposed patch adds an exclude file option, that allows multiple hosts to be excluded
as targets.

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


View raw message