Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4225

NPE while installing snapshots on ozone manager

    XMLWordPrintableJSON

Details

    Description

      2020-09-09 22:07:14,830 [pool-144-thread-1] INFO  om.OzoneManager (OzoneManager.java:installCheckpoint(3159)) - Installing checkpoint with OMTransactionInfo 2#68754
      2020-09-09 22:07:14,831 [grpc-default-executor-50] INFO  impl.RaftServerImpl (RaftServerImpl.java:installSnapshot(1127)) - omNode-2@group-D62218D261DE: reply installSnapshot: omNode-1<-omNode-2#0:FAIL-t2,IN
      _PROGRESS
      2020-09-09 22:07:14,831 [grpc-default-executor-49] INFO  impl.RaftServerImpl (RaftServerImpl.java:installSnapshot(1117)) - omNode-2@group-D62218D261DE: receive installSnapshot: omNode-1->omNode-2#0-t2,notif
      y:(t:2, i:68440)
      2020-09-09 22:07:14,836 [grpc-default-executor-49] INFO  impl.RaftServerImpl (RaftServerImpl.java:notifyStateMachineToInstallSnapshot(1282)) - omNode-2@group-D62218D261DE: Snapshot Installation by StateMach
      ine is in progress.
      2020-09-09 22:07:14,836 [grpc-default-executor-49] INFO  impl.RaftServerImpl (RaftServerImpl.java:installSnapshot(1127)) - omNode-2@group-D62218D261DE: reply installSnapshot: omNode-1<-omNode-2#0:FAIL-t2,IN
      _PROGRESS
      2020-09-09 22:07:14,832 [grpc-default-executor-53] INFO  server.GrpcLogAppender (GrpcLogAppender.java:onNext(375)) - omNode-1@group-D62218D261DE->omNode-2-InstallSnapshotResponseHandler: received a reply om
      Node-1<-omNode-2#0:FAIL-t2,IN_PROGRESS
      2020-09-09 22:07:14,831 [grpc-default-executor-50] INFO  server.GrpcServerProtocolService (GrpcServerProtocolService.java:onCompleted(138)) - omNode-2: Completed INSTALL_SNAPSHOT, lastRequest: omNode-1->omN
      ode-2#0-t2,notify:(t:2, i:68440)
      2020-09-09 22:07:14,831 [pool-144-thread-1] ERROR om.OzoneManager (OzoneManager.java:installSnapshotFromLeader(3141)) - Failed to install snapshot from Leader OM: {}
      java.lang.NullPointerException
              at org.apache.hadoop.ozone.om.OzoneManager.installCheckpoint(OzoneManager.java:3168)
              at org.apache.hadoop.ozone.om.OzoneManager.installCheckpoint(OzoneManager.java:3162)
              at org.apache.hadoop.ozone.om.OzoneManager.installSnapshotFromLeader(OzoneManager.java:3139)
              at org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine.lambda$notifyInstallSnapshotFromLeader$4(OzoneManagerStateMachine.java:372)
              at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
              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)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              msingh Mukul Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: