Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Steps to reproduce:
- Create file
- Do hsync
- Recover lease
2024-01-23 14:06:21 failed with exception 2024-01-23 14:06:21 java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0 2024-01-23 14:06:21 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) 2024-01-23 14:06:21 at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) 2024-01-23 14:06:21 at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) 2024-01-23 14:06:21 at java.base/java.util.Objects.checkIndex(Objects.java:372) 2024-01-23 14:06:21 at java.base/java.util.ArrayList.get(ArrayList.java:459) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.om.request.file.OMRecoverLeaseRequest.doWork(OMRecoverLeaseRequest.java:258) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.om.request.file.OMRecoverLeaseRequest.validateAndUpdateCache(OMRecoverLeaseRequest.java:158) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.lambda$0(OzoneManagerRequestHandler.java:412) 2024-01-23 14:06:21 at org.apache.hadoop.util.MetricUtil.captureLatencyNs(MetricUtil.java:45) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.protocolPB.OzoneManagerRequestHandler.handleWriteRequest(OzoneManagerRequestHandler.java:408) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.runCommand(OzoneManagerStateMachine.java:559) 2024-01-23 14:06:21 at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.lambda$1(OzoneManagerStateMachine.java:349) 2024-01-23 14:06:21 at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) 2024-01-23 14:06:21 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2024-01-23 14:06:21 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 2024-01-23 14:06:21 at java.base/java.lang.Thread.run(Thread.java:829) 2024-01-23 14:06:21 2024-01-23 08:36:21,603 [shutdown-hook-0] INFO om.OzoneManagerStarter: SHUTDOWN_MSG:
Attachments
Issue Links
- Discovered while testing
-
HDDS-7593 Supporting HSync and lease recovery
- Resolved
- links to