Sergey,

that might by a bit of off-topic, but in HBASE-13103 there's a
discussion on how to relieve folks of having to think of proper ways
of running their split commands. As it's now in design & prototyping
stage, any feedback from production users is greatly appreciated!

-Mikhail

On Fri, Apr 17, 2015 at 9:41 AM, Sergey Belousov
<[email protected]> wrote:
> Hi all
>
> I was looking into doing some splitting for the table (sort of in
> production so I can not use SPLITS on create time) using 'split' command
> from HBase shell. (0.98.9-hadoop2)
> I have simple JRuby script where I just run 'split'
> 'table_name','split_key' command using hbase shell /tmp/split_table.rb
>
> Time from time I have this error coming up
>
> ERROR: org.apache.hadoop.hbase.NotServingRegionException: Region
>
> [****************eaten by
> mouse***************],1429257507107.82bfbd974d36db11075e4ef1da7abfed.
> is not online on ******************,60020,1429256987509
>         at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2780)
>         at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:4337)
>         at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.splitRegion(HRegionServer.java:4042)
>         at 
> org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:20170)
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2029)
>         at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
>         at 
> org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:112)
>         at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:92)
>         at java.lang.Thread.run(Thread.java:745)
>
>
>
> Even thou sleep(2) help mostly it's not guaranty (especially on live
> cluster) and not the solution I would like.
>
> So my question is what would be proper way of checking that I am good to
> run next split command?
>
>
> Thank you
> SB



-- 
Thanks,
Michael Antonov

Reply via email to