[
https://issues.apache.org/jira/browse/HBASE-12875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285930#comment-14285930
]
Andrew Purtell commented on HBASE-12875:
----------------------------------------
Any significant reason not to just remove the attempts to scan the region after
relocation? We know the region has moved off the draining server, why wait?
> Region mover script region_mover.rb sometimes fail with NPE
> -----------------------------------------------------------
>
> Key: HBASE-12875
> URL: https://issues.apache.org/jira/browse/HBASE-12875
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 0.98.8
> Reporter: Sameer Vaishampayan
> Assignee: Sameer Vaishampayan
> Priority: Minor
>
> Moved region
> _IDX_EVENT.PLATFORM_EVENT_METRICS,\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00,1421392135537.f058d58e0560a5a0d681d3345d778b71.
> cost: 1.643
> NoMethodError: undefined method `getScanner' for nil:NilClass
> isSuccessfulScan at <>/bin/region_mover.rb:138
> unloadRegions at <>/bin/region_mover.rb:360
> call at org/jruby/RubyProc.java:270
> call at org/jruby/RubyProc.java:220
> initialize at<>/bin/thread-pool.rb:33
> loop at org/jruby/RubyKernel.java:1439
> initialize at <>/bin/thread-pool.rb:31
> catch at org/jruby/RubyKernel.java:1212
> initialize at <>/bin/thread-pool.rb:30
> call at org/jruby/RubyProc.java:270
> call at org/jruby/RubyProc.java:224
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)