hemantk-12 commented on PR #6026:
URL: https://github.com/apache/ozone/pull/6026#issuecomment-1901277529

   I, with Attila's help, run test again and got thread dump for a failure 
iteration. 
https://github.com/hemantk-12/ozone/actions/runs/7588632499/job/20671595413
   
   Key creation is getting stuck.
   Test thread:
   ```
   main" 
      java.lang.Thread.State: WAITING
           at java.lang.Object.wait(Native Method)
           at java.lang.Object.wait(Object.java:502)
           at 
org.apache.hadoop.util.concurrent.AsyncGet$Util.wait(AsyncGet.java:65)
           at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1555)
           at org.apache.hadoop.ipc.Client.call(Client.java:1513)
           at org.apache.hadoop.ipc.Client.call(Client.java:1410)
           at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:250)
           at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:132)
           at com.sun.proxy.$Proxy54.submitRequest(Unknown Source)
           at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:433)
           at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:166)
           at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:158)
           at 
org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:96)
           at 
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:362)
           at com.sun.proxy.$Proxy54.submitRequest(Unknown Source)
           at 
org.apache.hadoop.ozone.om.protocolPB.Hadoop3OmTransport.submitRequest(Hadoop3OmTransport.java:80)
           at 
org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.submitRequest(OzoneManagerProtocolClientSideTranslatorPB.java:330)
           at 
org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.openKey(OzoneManagerProtocolClientSideTranslatorPB.java:729)
           at 
org.apache.hadoop.ozone.client.rpc.RpcClient.createKey(RpcClient.java:1363)
           at 
org.apache.hadoop.ozone.client.rpc.RpcClient.createKey(RpcClient.java:1322)
           at 
org.apache.hadoop.ozone.client.OzoneBucket.createKey(OzoneBucket.java:446)
           at 
org.apache.hadoop.ozone.om.TestOzoneManagerHA.createKey(TestOzoneManagerHA.java:226)
           at 
org.apache.hadoop.ozone.om.TestSnapshotBackgroundServices.writeKeys(TestSnapshotBackgroundServices.java:653)
           at 
org.apache.hadoop.ozone.om.TestSnapshotBackgroundServices.createSnapshotsEachWithNewKeys(TestSnapshotBackgroundServices.java:361)
           at 
org.apache.hadoop.ozone.om.TestSnapshotBackgroundServices.testSnapshotAndKeyDeletionBackgroundServices(TestSnapshotBackgroundServices.java:211)
   ```
   Request handler thread:
   ```
   "IPC Server handler 7 on default port 15133" 
      java.lang.Thread.State: WAITING
           at sun.misc.Unsafe.park(Native Method)
           at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
           at 
java.util.concurrent.CompletableFuture$Signaller.block(CompletableFuture.java:1707)
           at 
java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3323)
           at 
java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:1742)
           at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
           at 
org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer.submitRequestToRatisImpl(OzoneManagerRatisServer.java:320)
           at 
org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer.lambda$3(OzoneManagerRatisServer.java:292)
           at 
org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer$$Lambda$1508/1834248801.get(Unknown
 Source)
           at 
org.apache.hadoop.util.MetricUtil.captureLatencyNs(MetricUtil.java:45)
           at 
org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer.submitRequestToRatis(OzoneManagerRatisServer.java:290)
           at 
org.apache.hadoop.ozone.om.ratis.OzoneManagerRatisServer.submitRequest(OzoneManagerRatisServer.java:262)
           at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequestToRatis(OzoneManagerProtocolServerSideTranslatorPB.java:250)
           at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.internalProcessRequest(OzoneManagerProtocolServerSideTranslatorPB.java:229)
           at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:165)
           at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB$$Lambda$1498/1352936337.apply(Unknown
 Source)
           at 
org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:89)
           at 
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:156)
           at 
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java)
           at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Server.processCall(ProtobufRpcEngine.java:484)
           at 
org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:595)
           at 
org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:573)
           at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1227)
           at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1094)
           at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:1017)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAs(Subject.java:422)
           at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899)
           at org.apache.hadoop.ipc.Server$Handler.run(Server.java:3048)
   ```
   
   Need to check more if it is Ozone issue or Ratis.
   
   Full thread dump: 
[2024-01-19T20-26-24_615-jvmRun1.dump.txt](https://github.com/apache/ozone/files/13995422/2024-01-19T20-26-24_615-jvmRun1.dump.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to