Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-3494

FAILED_TO_UNCOMPRESS error when running ANALYZE COLLECTION

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • STO - Storage

    Description

      Analyze collection fails after on/off on cloud deployment with the following error

      2024-08-27T15:30:37.104+00:00 WARN CBAS.buffercache.BufferCache [SAO:JID:0.3:TAID:TID:ANID:ODID:0:0:29:0] Error while reading a page CachedPage:[page:370, compressedPageOffset:44593327, compressedSize:97101] in file /var/cb-cache/@analytics/v_iodevice_4/storage/partition_116/Default/Default/customer/0/customer/11_11_b
      org.apache.hyracks.api.exceptions.HyracksDataException: java.io.IOException: FAILED_TO_UNCOMPRESS(5)
          at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49) ~[hyracks-api.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.compression.SnappyCompressorDecompressor.uncompress(SnappyCompressorDecompressor.java:63) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.file.CompressedBufferedFileHandle.uncompressToPageBuffer(CompressedBufferedFileHandle.java:257) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.file.CompressedBufferedFileHandle.read(CompressedBufferedFileHandle.java:68) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.buffercache.BufferCache.read(BufferCache.java:571) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.buffercache.BufferCache.tryRead(BufferCache.java:541) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.buffercache.BufferCache.pin(BufferCache.java:215) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.btree.impls.DiskBTree.search(DiskBTree.java:106) ~[hyracks-storage-am-btree.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.btree.impls.DiskBTree$DiskBTreeAccessor.search(DiskBTree.java:196) ~[hyracks-storage-am-btree.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.util.IndexCursorUtils.open(IndexCursorUtils.java:90) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeRangeSearchCursor.doOpen(LSMBTreeRangeSearchCursor.java:415) ~[hyracks-storage-am-lsm-btree.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.EnforcedIndexCursor.open(EnforcedIndexCursor.java:54) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeSearchCursor.doOpen(LSMBTreeSearchCursor.java:62) ~[hyracks-storage-am-lsm-btree.jar:1.0.0-2239]
          at org.apache.hyracks.storage.common.EnforcedIndexCursor.open(EnforcedIndexCursor.java:54) ~[hyracks-storage-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTree.search(LSMBTree.java:219) ~[hyracks-storage-am-lsm-btree.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.search(LSMHarness.java:450) ~[hyracks-storage-am-lsm-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.search(LSMTreeIndexAccessor.java:118) ~[hyracks-storage-am-lsm-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.searchAllPartitions(IndexSearchOperatorNodePushable.java:469) ~[hyracks-storage-am-common.jar:1.0.0-2239]
          at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:316) ~[hyracks-storage-am-common.jar:1.0.0-2239]
          at org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:94) ~[hyracks-dataflow-common.jar:1.0.0-2239]
          at org.apache.hyracks.dataflow.std.misc.ConstantTupleSourceOperatorNodePushable.initialize(ConstantTupleSourceOperatorNodePushable.java:52) ~[hyracks-dataflow-std.jar:1.0.0-2239]
          at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:233) ~[hyracks-api.jar:1.0.0-2239]
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
          at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
      Caused by: java.io.IOException: FAILED_TO_UNCOMPRESS(5)
          at org.xerial.snappy.SnappyNative.throw_error(SnappyNative.java:112) ~[snappy-java-1.1.10.5.jar:1.1.10.5]
          at org.xerial.snappy.SnappyNative.rawUncompress(Native Method) ~[snappy-java-1.1.10.5.jar:1.1.10.5]
          at org.xerial.snappy.Snappy.rawUncompress(Snappy.java:504) ~[snappy-java-1.1.10.5.jar:1.1.10.5]
          at org.xerial.snappy.Snappy.uncompress(Snappy.java:543) ~[snappy-java-1.1.10.5.jar:1.1.10.5]
          at org.apache.hyracks.storage.common.compression.SnappyCompressorDecompressor.uncompress(SnappyCompressorDecompressor.java:58) ~[hyracks-storage-common.jar:1.0.0-2239]
          ... 24 more 

      Attachments

        Activity

          People

            peeyushgupta1 Peeyush Gupta
            peeyushgupta1 Peeyush Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: