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

java.lang.IllegalStateException when set LSM Memory Component Id

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: STO - Storage
    • Labels:
      None

      Description

      On one NC with multiple partitions, it may through IllegalStateException when we reset the memory component Id. The memory component should receive a larger Id, but for some reason it still receives the old one.

      16:25:40 SEVERE: SEARCH failed to enter components on {"class" : "LSMBTree", "dir" : "/home/jenkins/jenkins/workspace/asterix-gerrit-verify-asterix-app/asterixdb/asterix-app/target/io/dir/asterix_nc1/iodevice1/storage/partition_1/test/LineID_idx_idx_LineID_suppkey", "memory" : 2, "disk" : 1}
      16:25:40 java.lang.IllegalStateException: LSM memory component receives illegal id. Old id [1510360027993,1510360027993], new id [1510360027993,1510360027993]
      16:25:40 	at org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMMemoryComponent.resetId(AbstractLSMMemoryComponent.java:276)
      16:25:40 	at org.apache.asterix.common.ioopcallbacks.AbstractLSMIOOperationCallback.recycled(AbstractLSMIOOperationCallback.java:205)
      

        Attachments

          Activity

            People

            • Assignee:
              luochen01 Chen Luo
              Reporter:
              luochen01 Chen Luo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: