Locking error when datanode repport added blocks

Description

2019-06-27 16:42:53,508 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Exception in whirlingLikeASufi
org.apache.hadoop.ipc.RemoteException(io.hops.exception.StorageCallPreventedException): [ByINodeIdFTIS] Trying to access storage while it is disable in transaction, inconsistent transaction context statement. Params=[6163962]
at io.hops.transaction.context.EntityContext.aboutToAccessStorage(EntityContext.java:242)
at io.hops.transaction.context.INodeContext.findByInodeIdFTIS(INodeContext.java:225)
at io.hops.transaction.context.INodeContext.find(INodeContext.java:77)
at io.hops.transaction.context.INodeContext.find(INodeContext.java:47)
at io.hops.transaction.context.TransactionContext.find(TransactionContext.java:139)
at io.hops.transaction.EntityManager.find(EntityManager.java:98)
at org.apache.hadoop.hdfs.server.namenode.INode.getParent(INode.java:561)
at org.apache.hadoop.hdfs.server.namenode.INodeFile.getStoragePolicyID(INodeFile.java:165)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseExcessReplicates(BlockManager.java:3974)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.processOverReplicatedBlock(BlockManager.java:3946)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.addStoredBlock(BlockManager.java:3353)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.access$3200(BlockManager.java:130)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$27.performTask(BlockManager.java:5435)
at io.hops.transaction.handler.TransactionalRequestHandler.execute(TransactionalRequestHandler.java:100)
at io.hops.transaction.handler.HopsTransactionalRequestHandler.execute(HopsTransactionalRequestHandler.java:50)
at io.hops.transaction.handler.RequestHandler.handle(RequestHandler.java:65)
at io.hops.transaction.handler.RequestHandler.handle(RequestHandler.java:60)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.addStoredBlockTx(BlockManager.java:5439)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.access$1700(BlockManager.java:130)
at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$7.call(BlockManager.java:2491)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1535)
at org.apache.hadoop.ipc.Client.call(Client.java:1481)
at org.apache.hadoop.ipc.Client.call(Client.java:1391)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:227)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
at com.sun.proxy.$Proxy16.blockReport(Unknown Source)
at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.blockReport(DatanodeProtocolClientSideTranslatorPB.java:188)
at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.blockReport(BPServiceActor.java:649)
at org.apache.hadoop.hdfs.server.datanode.BPOfferService.blockReport(BPOfferService.java:1054)
at org.apache.hadoop.hdfs.server.datanode.BPOfferService.blockReportInternal(BPOfferService.java:852)
at org.apache.hadoop.hdfs.server.datanode.BPOfferService.whirlingLikeASufi(BPOfferService.java:821)
at org.apache.hadoop.hdfs.server.datanode.BPOfferService.run(BPOfferService.java:1345)
at java.lang.Thread.run(Thread.java:748)

Status

Assignee

Gautier Berthou

Reporter

Gautier Berthou

Labels

None

Fix versions

Priority

Highest
Configure