cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-9296) OHC fails to load in Zing 1.7 VM
Date Mon, 04 May 2015 23:30:08 GMT
Ariel Weisberg created CASSANDRA-9296:
-----------------------------------------

             Summary: OHC fails to load in Zing 1.7 VM
                 Key: CASSANDRA-9296
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9296
             Project: Cassandra
          Issue Type: Bug
            Reporter: Ariel Weisberg
            Assignee: Robert Stupp
             Fix For: 3.x


Error output is a disaster but I am including it here, will clean up later. I had to change
code to get this error to appear properly with the invocation target exception unwrapped.

1.7 VM version
{noformat}
java version "1.7.0-zing_15.02.1.0"
Zing Runtime Environment for Java Applications (build 1.7.0-zing_15.02.1.0-b2)
Zing 64-Bit Tiered VM (build 1.7.0-zing_15.02.1.0-b2-product-azlinuxM-X86_64, mixed mode)
{noformat}

This does work with the 1.8 Zing VM.
{noformat}
    [junit] java.lang.ExceptionInInitializerError
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:330)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:468)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:444)
    [junit] 	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:324)
    [junit] 	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:275)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:117)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:94)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:81)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:78)
    [junit] 	at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
    [junit] 	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.all(ColumnFamilyStore.java:2387)
    [junit] 	at org.apache.cassandra.config.CFMetaData.existingIndexNames(CFMetaData.java:1078)
    [junit] 	at org.apache.cassandra.config.CFMetaData.validate(CFMetaData.java:1035)
    [junit] 	at org.apache.cassandra.config.KSMetaData.validate(KSMetaData.java:180)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:264)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:259)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:340)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:328)
    [junit] 	at org.apache.cassandra.cache.AutoSavingCacheTest.defineSchema(AutoSavingCacheTest.java:49)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:606)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    [junit] 	at org.caffinitas.ohc.OHCacheBuilder.build(OHCacheBuilder.java:221)
    [junit] 	at org.apache.cassandra.cache.OHCProvider.create(OHCProvider.java:49)
    [junit] 	at org.apache.cassandra.service.CacheService.initRowCache(CacheService.java:151)
    [junit] 	at org.apache.cassandra.service.CacheService.<init>(CacheService.java:103)
    [junit] 	at org.apache.cassandra.service.CacheService.<clinit>(CacheService.java:83)
    [junit] 	... 34 more
    [junit] Caused by: java.lang.reflect.InvocationTargetException
    [junit] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [junit] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [junit] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    [junit] 	at org.caffinitas.ohc.OHCacheBuilder.build(OHCacheBuilder.java:217)
    [junit] 	... 38 more
    [junit] Caused by: java.lang.UnsupportedClassVersionError: org/caffinitas/ohc/linked/UnsExt8
has been compiled by a more recent version of the Java Runtime (class file version 52.0),
this version of the Java Runtime only recognizes class file versions up to 51.0
    [junit] 	at java.lang.ClassLoader.defineClass1(Native Method)
    [junit] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    [junit] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    [junit] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    [junit] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    [junit] 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:483)
    [junit] 	at java.lang.Class.forName0(Native Method)
    [junit] 	at java.lang.Class.forName(Class.java:191)
    [junit] 	at org.caffinitas.ohc.linked.Uns.<clinit>(Uns.java:154)
    [junit] 	at org.caffinitas.ohc.linked.OffHeapMap$Table.create(OffHeapMap.java:510)
    [junit] 	at org.caffinitas.ohc.linked.OffHeapMap.<init>(OffHeapMap.java:64)
    [junit] 	at org.caffinitas.ohc.linked.OHCacheImpl.<init>(OHCacheImpl.java:98)
    [junit] 	... 43 more
    [junit] java.lang.UnsupportedClassVersionError: org/caffinitas/ohc/linked/UnsExt8 has
been compiled by a more recent version of the Java Runtime (class file version 52.0), this
version of the Java Runtime only recognizes class file versions up to 51.0
    [junit] 	at java.lang.ClassLoader.defineClass1(Native Method)
    [junit] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    [junit] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    [junit] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    [junit] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    [junit] 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:483)
    [junit] 	at java.lang.Class.forName0(Native Method)
    [junit] 	at java.lang.Class.forName(Class.java:191)
    [junit] 	at org.caffinitas.ohc.linked.Uns.<clinit>(Uns.java:154)
    [junit] 	at org.caffinitas.ohc.linked.OffHeapMap$Table.create(OffHeapMap.java:510)
    [junit] 	at org.caffinitas.ohc.linked.OffHeapMap.<init>(OffHeapMap.java:64)
    [junit] 	at org.caffinitas.ohc.linked.OHCacheImpl.<init>(OHCacheImpl.java:98)
    [junit] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [junit] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [junit] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    [junit] 	at org.caffinitas.ohc.OHCacheBuilder.build(OHCacheBuilder.java:217)
    [junit] 	at org.apache.cassandra.cache.OHCProvider.create(OHCProvider.java:49)
    [junit] 	at org.apache.cassandra.service.CacheService.initRowCache(CacheService.java:151)
    [junit] 	at org.apache.cassandra.service.CacheService.<init>(CacheService.java:103)
    [junit] 	at org.apache.cassandra.service.CacheService.<clinit>(CacheService.java:83)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:330)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:468)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:444)
    [junit] 	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:324)
    [junit] 	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:275)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:117)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:94)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:81)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:78)
    [junit] 	at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
    [junit] 	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.all(ColumnFamilyStore.java:2387)
    [junit] 	at org.apache.cassandra.config.CFMetaData.existingIndexNames(CFMetaData.java:1078)
    [junit] 	at org.apache.cassandra.config.CFMetaData.validate(CFMetaData.java:1035)
    [junit] 	at org.apache.cassandra.config.KSMetaData.validate(KSMetaData.java:180)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:264)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:259)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:340)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:328)
    [junit] 	at org.apache.cassandra.cache.AutoSavingCacheTest.defineSchema(AutoSavingCacheTest.java:49)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:606)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: org.apache.cassandra.cache.AutoSavingCacheTest:	Caused an ERROR
    [junit] null
    [junit] java.lang.RuntimeException
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:340)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:468)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:444)
    [junit] 	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:324)
    [junit] 	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:275)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:117)
    [junit] 	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:94)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:81)
    [junit] 	at org.apache.cassandra.db.Keyspace$1.apply(Keyspace.java:78)
    [junit] 	at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
    [junit] 	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    [junit] 	at org.apache.cassandra.db.ColumnFamilyStore.all(ColumnFamilyStore.java:2387)
    [junit] 	at org.apache.cassandra.config.CFMetaData.existingIndexNames(CFMetaData.java:1078)
    [junit] 	at org.apache.cassandra.config.CFMetaData.validate(CFMetaData.java:1035)
    [junit] 	at org.apache.cassandra.config.KSMetaData.validate(KSMetaData.java:180)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:264)
    [junit] 	at org.apache.cassandra.service.MigrationManager.announceNewKeyspace(MigrationManager.java:259)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:340)
    [junit] 	at org.apache.cassandra.SchemaLoader.createKeyspace(SchemaLoader.java:328)
    [junit] 	at org.apache.cassandra.cache.AutoSavingCacheTest.defineSchema(AutoSavingCacheTest.java:49)
{noformat}



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

Mime
View raw message