cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Petrov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-13091) SASI unset memory access
Date Tue, 03 Jan 2017 14:37:58 GMT
Alex Petrov created CASSANDRA-13091:
---------------------------------------

             Summary: SASI unset memory access
                 Key: CASSANDRA-13091
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13091
             Project: Cassandra
          Issue Type: Bug
            Reporter: Alex Petrov


While running SASI tests, the following issue keeps popping up on trunk:

{code}
    [junit] DEBUG [main] 2017-01-03 15:30:38,708 ?:? - Failed search an index /Users/oleksandrpetrov/foss/java/backup/cassandra/build/test/cassandra/data:0/sasi/clustering_test_cf_1-28004b20d1c111e6a96b29c83c9e6808/mc-3-big-SI_age.db,
skipping.
    [junit] java.lang.InternalError: a fault occurred in a recent unsafe memory access operation
in compiled Java code
    [junit]     at org.apache.cassandra.index.sasi.utils.MappedBuffer.position(MappedBuffer.java:105)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.disk.OnDiskIndex$Level.getBlock(OnDiskIndex.java:556)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.disk.OnDiskIndex.searchIndex(OnDiskIndex.java:464)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.disk.OnDiskIndex.getTerm(OnDiskIndex.java:458)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.disk.OnDiskIndex.search(OnDiskIndex.java:231)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.SSTableIndex.search(SSTableIndex.java:103)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.TermIterator.lambda$build$0(TermIterator.java:130)
~[main/:na]
    [junit]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
~[na:1.8.0_91]
    [junit]     at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_91]
    [junit]     at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
~[guava-18.0.jar:na]
    [junit]     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
~[na:1.8.0_91]
    [junit]     at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50)
~[guava-18.0.jar:na]
    [junit]     at com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:37)
~[guava-18.0.jar:na]
    [junit]     at org.apache.cassandra.index.sasi.TermIterator.build(TermIterator.java:125)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.plan.QueryController.getIndexes(QueryController.java:139)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.plan.Operation$Builder.complete(Operation.java:433)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.plan.QueryPlan.analyze(QueryPlan.java:57)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.plan.QueryPlan.execute(QueryPlan.java:68)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.SASIIndex.lambda$searcherFor$2(SASIIndex.java:287)
~[main/:na]
    [junit]     at org.apache.cassandra.db.ReadCommand.executeLocally(ReadCommand.java:357)
~[main/:na]
    [junit]     at org.apache.cassandra.db.ReadCommand.executeInternal(ReadCommand.java:387)
~[main/:na]
    [junit]     at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:425)
~[main/:na]
    [junit]     at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:411)
~[main/:na]
    [junit]     at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:78)
~[main/:na]
    [junit]     at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:332)
~[main/:na]
    [junit]     at org.apache.cassandra.index.sasi.SASIIndexTest.executeCQL(SASIIndexTest.java:2438)
~[classes/:na]
    [junit]     at org.apache.cassandra.index.sasi.SASIIndexTest.testTableRebuild(SASIIndexTest.java:1895)
~[classes/:na]
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_91]
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_91]
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_91]
    [junit]     at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_91]
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) ~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) ~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) ~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
~[junit-4.6.jar:na]
    [junit]     at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
~[junit-4.6.jar:na]
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:220) ~[junit-4.6.jar:na]
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) ~[junit-4.6.jar:na]
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
~[ant-junit.jar:na]
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
~[ant-junit.jar:na]
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
~[ant-junit.jar:na]
{code}

It doesn't cause any test failures, although still doesn't look right.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message