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

OMDBCheckpointServlet fails while creating tar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OM
    • None

    Description

      2020-11-20 09:06:15,844 INFO org.apache.hadoop.ozone.om.OMDBCheckpointServlet: Received request to obtain OM DB checkpoint snapshot
      2020-11-20 09:06:16,129 INFO org.apache.hadoop.hdds.utils.db.RDBCheckpointManager: Created checkpoint at /var/lib/hadoop-ozone/om/data/db.checkpoints/rdb_rdb_checkpoint_1605891975844 in 285 milliseconds
      2020-11-20 02:06:11,414 ERROR org.apache.hadoop.ozone.om.OMDBCheckpointServlet: Unable to process metadata snapshot request.
      org.eclipse.jetty.io.EofException
              at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:283)
              at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
              at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)
              at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381)
              at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:815)
              at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
              at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223)
              at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:546)
              at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:829)
              at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:901)
              at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:283)
              at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:267)
              at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:825)
              at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
              at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
              at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
              at org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream.write(GzipCompressorOutputStream.java:58)
              at org.apache.commons.compress.utils.CountingOutputStream.write(CountingOutputStream.java:48)
              at org.apache.commons.compress.archivers.tar.TarBuffer.writeBlock(TarBuffer.java:365)
              at org.apache.commons.compress.archivers.tar.TarBuffer.writeRecord(TarBuffer.java:347)
              at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.write(TarArchiveOutputStream.java:438)
              at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:67)
              at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:47)
              at org.apache.hadoop.ozone.om.OMDBCheckpointServlet.includeFile(OMDBCheckpointServlet.java:210)
              at org.apache.hadoop.ozone.om.OMDBCheckpointServlet.writeOmDBCheckpointToStream(OMDBCheckpointServlet.java:189)
              at org.apache.hadoop.ozone.om.OMDBCheckpointServlet.doGet(OMDBCheckpointServlet.java:139)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
              at org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter.doFilter(StaticUserWebFilter.java:110)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.apache.hadoop.hdds.server.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1666)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.apache.hadoop.hdds.server.http.NoCacheFilter.doFilter(NoCacheFilter.java:48)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)        
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.Server.handle(Server.java:500)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
              at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
              at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
              at java.lang.Thread.run(Thread.java:748)
              Suppressed: java.io.IOException: This archives contains unclosed entries.
                      at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.finish(TarArchiveOutputStream.java:214)
                      at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.close(TarArchiveOutputStream.java:229)
                      at org.apache.hadoop.ozone.om.OMDBCheckpointServlet.writeOmDBCheckpointToStream(OMDBCheckpointServlet.java:195)
                      ... 43 more
              Suppressed: org.eclipse.jetty.io.EofException: Closed
                      at org.eclipse.jetty.server.HttpOutput.checkWritable(HttpOutput.java:725)
                      at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:749)
                      at java.util.zip.GZIPOutputStream.finish(GZIPOutputStream.java:168)
                      at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)
                      at org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream.close(GzipCompressorOutputStream.java:63)
                      at org.apache.hadoop.ozone.om.OMDBCheckpointServlet.writeOmDBCheckpointToStream(OMDBCheckpointServlet.java:196)
                      ... 43 more
      Caused by: java.io.IOException: Broken pipe
              at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
              at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
              at sun.nio.ch.IOUtil.write(IOUtil.java:148)
              at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504)
              at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:263)
              ... 67 more
      

      Attachments

        Activity

          People

            avijayan Aravindan Vijayan
            ljain Lokesh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: