Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Batch mutation had a row that does not belong to this region

Highlighted

Batch mutation had a row that does not belong to this region

New Contributor

hi,

ALL.

I recently encountered a problem that when HBase writes, there is an error in the log: "Batch mutation has a row that does not belong to this region"

Org. apache. hadoop. hbase. regionserver. WrongRegionException: Requested row out of range for doMiniBatchMutation",

Once this error occurs, the write speed of the cluster will slow down.

In response to this error, I tried to fix it with the HBCK command, but it didn't work.


The current version of HBase is hdp-2.5.0.0-1245, and the HBase version is 1.1.2.2.5.


Have you ever met? How to solve it?


Detailed error information is as follows:



109881-1563083955617.png


2019-07-12 18:03:12,402 WARN [B.fifo.QRpcServer.handler=18,queue=18,port=16020] regionserver.HRegion: Batch mutation had a

row that does not belong to this region

org.apache.hadoop.hbase.regionserver.WrongRegionException: Requested row out of range for doMiniBatchMutation

on HRegion Monitor_RowData_20190708,TaskCenterExecTime#201907102227016188725##d973ecd9-a81f-49e4-912f-dad5764c9690,

1562954418071.0b79b493d94b50e70a787b8ed90e1a99.,

startKey='TaskCenterExecTime#201907102227016188725##d973ecd9-a81f-49e4-912f-dad5764c9690',

getEndKey()='TaskCenterMsgReceiveTps#201907081344007337702##f22b5214-37b5-4758-a0ac-cb7fb39b05bf',

row='RabbitMQQueueReady#201907130202334532327##3b7604fc-6eda-4195-b601-29a52dcb9d0c'

at org.apache.hadoop.hbase.regionserver.HRegion.checkRow(HRegion.java:5211)

at org.apache.hadoop.hbase.regionserver.HRegion.checkAndPrepareMutation(HRegion.java:3879)

at org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:3040)

at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2933)

at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2875)

at org.apache.hadoop.hbase.regionserver.RSRpcServices.doBatchOp(RSRpcServices.java:715)

at org.apache.hadoop.hbase.regionserver.RSRpcServices.doNonAtomicRegionMutation(RSRpcServices.java:677)

at org.apache.hadoop.hbase.regionserver.RSRpcServices.multi(RSRpcServices.java:2054)

at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32303)

at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2127)

at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)

at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)

at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)

at java.lang.Thread.run(Thread.java:745)







Don't have an account?
Coming from Hortonworks? Activate your account here