You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Murtadha Hubail (JIRA)" <ji...@apache.org> on 2017/11/21 15:00:16 UTC

[jira] [Commented] (ASTERIXDB-2161) java.lang.IllegalStateException when set LSM Memory Component Id

    [ https://issues.apache.org/jira/browse/ASTERIXDB-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16260856#comment-16260856 ] 

Murtadha Hubail commented on ASTERIXDB-2161:
--------------------------------------------

Here is another stack from a different test case:

{code:java}
java.lang.Exception: Test "src/test/resources/runtimets/queries_sqlpp/dml/insert-and-scan-dataset-with-index/insert-and-scan-dataset-with-index.2.update.sqlpp" FAILED!
	at org.apache.asterix.test.runtime.SqlppExecutionTest.test(SqlppExecutionTest.java:62)
Caused by: org.apache.asterix.common.exceptions.AsterixException: IllegalStateException: LSM memory component receives illegal id. Old id [1511270023843,1511270023843], new id [1511270023843,1511270023843]
	at org.apache.asterix.test.runtime.SqlppExecutionTest.test(SqlppExecutionTest.java:62)
{code}

> java.lang.IllegalStateException when set LSM Memory Component Id
> ----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2161
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2161
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>            Reporter: Chen Luo
>            Assignee: Chen Luo
>
> 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.
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)