Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-8695 Revisit, fix, and re-enable disabled tests in CI
  3. HUDI-7375

Fix flaky test: testLogReaderWithDifferentVersionsOfDeleteBlocks

    XMLWordPrintableJSON

Details

    Description

      Error:  testLogReaderWithDifferentVersionsOfDeleteBlocks{DiskMapType, boolean, boolean, boolean}[13]  Time elapsed: 0.043 s  <<< ERROR!
      3421org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/root/[13] BITCASK, false, true, false1706913234251/partition_path/.test-fileid1_100.log.1_1-0-1 could only be written to 0 of the 1 minReplication nodes. There are 3 datanode(s) running and 3 node(s) are excluded in this operation.
      3422	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:2338)
      3423	at org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.chooseTargetForNewBlock(FSDirWriteFileOp.java:294)
      3424	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:2989)
      3425	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:911)
      3426	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:595)
      3427	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
      3428	at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:621)
      3429	at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:589)
      3430	at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:573)
      3431	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1213)
      3432	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1089)
      3433	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1012)
      3434	at java.security.AccessController.doPrivileged(Native Method)
      3435	at javax.security.auth.Subject.doAs(Subject.java:422)
      3436	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899)
      3437	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:3026)
      3438
      3439	at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1612)
      3440	at org.apache.hadoop.ipc.Client.call(Client.java:1558)
      3441	at org.apache.hadoop.ipc.Client.call(Client.java:1455)
      3442	at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:242)
      3443	at org.apache.hadoop.ipc.ProtobufRpcEngine2$Invoker.invoke(ProtobufRpcEngine2.java:129)
      3444	at jdk.proxy2/jdk.proxy2.$Proxy43.addBlock(Unknown Source)
      3445	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:530)
      3446	at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      3447	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3448	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      3449	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
      3450	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
      3451	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
      3452	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
      3453	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
      3454	at jdk.proxy2/jdk.proxy2.$Proxy44.addBlock(Unknown Source)
      3455	at org.apache.hadoop.hdfs.DFSOutputStream.addBlock(DFSOutputStream.java:1088)
      3456	at org.apache.hadoop.hdfs.DataStreamer.locateFollowingBlock(DataStreamer.java:1915)
      3457	at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1717)
      3458	at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:713)
      3459 

      Attachments

        Issue Links

          Activity

            People

              linliu Lin Liu
              linliu Lin Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: