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

ArithmeticException in GlobalVirtualBufferCache

    XMLWordPrintableJSON

Details

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

    Description

      Sample stacktrace:

      org.apache.hyracks.api.exceptions.HyracksDataException: java.lang.ArithmeticException: / by zero
      	at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:51) ~[hyracks-api.jar:7.0.0-1963]
      	at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.runInParallel(SuperActivityOperatorNodePushable.java:251) ~[hyracks-api.jar:7.0.0-1963]
      	at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:91) ~[hyracks-api.jar:7.0.0-1963]
      	at org.apache.hyracks.control.nc.Task.run(Task.java:320) ~[hyracks-control-nc.jar:7.0.0-1963]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
      	at java.lang.Thread.run(Unknown Source) [?:?]
      Caused by: java.lang.ArithmeticException: / by zero
      	at org.apache.asterix.common.context.GlobalVirtualBufferCache.unregister(GlobalVirtualBufferCache.java:129) ~[asterix-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMMemoryComponent.deallocate(AbstractLSMMemoryComponent.java:303) ~[hyracks-storage-am-lsm-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMIndex.deallocateMemoryComponents(AbstractLSMIndex.java:263) ~[hyracks-storage-am-lsm-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMIndex.deactivate(AbstractLSMIndex.java:246) ~[hyracks-storage-am-lsm-common.jar:7.0.0-1963]
      	at org.apache.asterix.common.context.DatasetLifecycleManager.closeIndex(DatasetLifecycleManager.java:526) ~[asterix-common.jar:7.0.0-1963]
      	at org.apache.asterix.common.context.DatasetLifecycleManager.unregister(DatasetLifecycleManager.java:166) ~[asterix-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.common.dataflow.IndexDataflowHelper.destroy(IndexDataflowHelper.java:96) ~[hyracks-storage-am-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.common.dataflow.IndexDropOperatorNodePushable.dropIndex(IndexDropOperatorNodePushable.java:82) ~[hyracks-storage-am-common.jar:7.0.0-1963]
      	at org.apache.hyracks.storage.am.common.dataflow.IndexDropOperatorNodePushable.initialize(IndexDropOperatorNodePushable.java:71) ~[hyracks-storage-am-common.jar:7.0.0-1963]
      	at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:228) ~[hyracks-api.jar:7.0.0-1963]
      	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
      	... 3 more
      

      Attachments

        Activity

          People

            mhubail Murtadha Makki Al Hubail
            mhubail Murtadha Makki Al Hubail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: