Attila Doroszlai created HDDS-11672:
---------------------------------------

             Summary: NPE in testCompactionLogBackgroundService
                 Key: HDDS-11672
                 URL: https://issues.apache.org/jira/browse/HDDS-11672
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Attila Doroszlai


{code:title=https://github.com/apache/ozone/actions/runs/11754276885/job/32748236163#step:6:2930}
org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices.testCompactionLogBackgroundService
  Time elapsed: 44.037 s  <<< ERROR!
org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: INTERNAL: Cannot 
invoke "org.apache.ratis.server.protocol.TermIndex.toProto()" because the 
return value of "org.apache.ratis.server.raftlog.RaftLog.getTermIndex(long)" is 
null
        at 
org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
        at 
org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
        at 
org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
        at 
org.apache.ratis.proto.grpc.AdminProtocolServiceGrpc$AdminProtocolServiceBlockingStub.groupInfo(AdminProtocolServiceGrpc.java:496)
        at 
org.apache.ratis.grpc.client.GrpcClientProtocolClient.groupInfo(GrpcClientProtocolClient.java:187)
        at 
org.apache.ratis.grpc.client.GrpcClientRpc.sendRequest(GrpcClientRpc.java:110)
        at 
org.apache.ratis.client.impl.BlockingImpl.sendRequest(BlockingImpl.java:147)
        at 
org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:109)
        at 
org.apache.ratis.client.impl.GroupManagementImpl.info(GroupManagementImpl.java:79)
        at 
org.apache.hadoop.hdds.ratis.RatisHelper.transferRatisLeadership(RatisHelper.java:554)
        at 
org.apache.hadoop.ozone.om.OzoneManager.transferLeadership(OzoneManager.java:3357)
        at 
org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices.verifyLeadershipTransfer(TestSnapshotBackgroundServices.java:594)
        at 
org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices.getNewLeader(TestSnapshotBackgroundServices.java:584)
        at 
org.apache.hadoop.ozone.om.snapshot.TestSnapshotBackgroundServices.testCompactionLogBackgroundService(TestSnapshotBackgroundServices.java:395)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to