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

Lars Hofhansl commented on HBASE-12957:
---------------------------------------

We're seeing error like these now when we actually run region_mover.rb:
{code}
 NoMethodError: undefined method `InclusiveStopFilter' for main:Object
   isSuccessfulScan at 
/home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:105
      unloadRegions at 
/home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:328
               call at org/jruby/RubyProc.java:270
               call at org/jruby/RubyProc.java:220
         initialize at 
/home/sfdc/current/bigdata-hbase/hbase/hbase/bin/thread-pool.rb:33
               loop at org/jruby/RubyKernel.java:1439
         initialize at 
/home/sfdc/current/bigdata-hbase/hbase/hbase/bin/thread-pool.rb:31
              catch at org/jruby/RubyKernel.java:1212
         initialize at 
/home/sfdc/current/bigdata-hbase/hbase/hbase/bin/thread-pool.rb:30
               call at org/jruby/RubyProc.java:270
               call at org/jruby/RubyProc.java:224
{code}


> region_mover#isSuccessfulScan may be extremely slow on region with lots of 
> expired data
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-12957
>                 URL: https://issues.apache.org/jira/browse/HBASE-12957
>             Project: HBase
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: hongyu bi
>            Assignee: hongyu bi
>            Priority: Minor
>             Fix For: 2.0.0, 1.1.0, 0.98.11
>
>         Attachments: HBASE-12957-v0.patch
>
>
> region_mover will call isSuccessfulScan when region has moved to make sure 
> it's healthy, however , if the moved region has lots of expired data 
> region_mover#isSuccessfulScan will take a long time to finish ,that may even 
> exceed "lease timeout".So I made isSuccessfulScan a get-like scan to achieve 
> faster response in that case. 
> workaround:before graceful_stop/rolling_restart ,call major_compact on the 
> table with small TTL



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

Reply via email to