Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-3999

OM NPE and shutdown while S3MultipartUploadCommitPartResponse#checkAndUpdateDB

    XMLWordPrintableJSON

    Details

      Description

      The related bad code.

      The following is the part log of OM. If you want to see the full log, you can download the attachment.

      2020-07-20 16:28:56,395 ERROR ratis.OzoneManagerDoubleBuffer (ExitUtils.java:terminate(133)) - Terminating with exit status 2: OMDoubleBuffer flush threadOMDoubleBufferFlushThreadencountered Throwable error
      java.lang.NullPointerException
      at org.apache.hadoop.ozone.om.response.s3.multipart.S3MultipartUploadCommitPartResponse.checkAndUpdateDB(S3MultipartUploadCommitPartResponse.java:99)
      at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$null$0(OzoneManagerDoubleBuffer.java:256)
      at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.addToBatchWithTrace(OzoneManagerDoubleBuffer.java:201)
      at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.lambda$flushTransactions$1(OzoneManagerDoubleBuffer.java:254)
      at java.util.Iterator.forEachRemaining(Iterator.java:116)
      at org.apache.hadoop.ozone.om.ratis.OzoneManagerDoubleBuffer.flushTransactions(OzoneManagerDoubleBuffer.java:250)
      at java.lang.Thread.run(Thread.java:748)
      2020-07-20 16:28:56,426 INFO om.OzoneManagerStarter (StringUtils.java:lambda$startupShutdownMessage$0(124)) - SHUTDOWN_MSG:
      /************************************************************
      SHUTDOWN_MSG: Shutting down OzoneManager at BAOLOONGMAO-MB0/10.78.32.49
      ************************************************************/

        Attachments

        1. screenshot-1.png
          72 kB
          Baolong Mao
        2. OM-NPE-Full.log
          265 kB
          Baolong Mao
        3. test-repro.patch
          4 kB
          Bharat Viswanadham

          Issue Links

            Activity

              People

              • Assignee:
                maobaolong Baolong Mao
                Reporter:
                maobaolong Baolong Mao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: