我已经在macOS 10.14上安装了Cassandra 3.11.3。openjdk版本“11”2018-09-25 openjdk运行时环境18.9(build 11 28)openjdk 64位服务器VM 18.9(build 11 28,混合模式)
当我试图启动卡桑德拉时,我
INFO [main] 2018-10-26 15:11:28,607 ColumnFamilyStore.java:411 - Initializing system_schema.aggregates
INFO [main] 2018-10-26 15:11:28,613 ColumnFamilyStore.java:411 - Initializing system_schema.indexes
INFO [main] 2018-10-26 15:11:28,615 ViewManager.java:137 - Not submitting build tasks for views in keyspace system_schema as storage service is not initialized
Exception (java.lang.ExceptionInInitializerError) encountered during startup: null
java.lang.ExceptionInInitializerError
at org.apache.cassandra.utils.ObjectSizes.sizeOfReferenceArray(ObjectSizes.java:79)
at org.apache.cassandra.utils.ObjectSizes.sizeOfArray(ObjectSizes.java:89)
at org.apache.cassandra.utils.ObjectSizes.sizeOnHeapExcludingData(ObjectSizes.java:112)
at org.apache.cassandra.db.AbstractBufferClusteringPrefix.unsharedHeapSizeExcludingData(AbstractBufferClusteringPrefix.java:70)
at org.apache.cassandra.db.rows.BTreeRow.unsharedHeapSizeExcludingData(BTreeRow.java:440)
at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:336)
at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295)
at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139)
at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121)
at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178)
at org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156)
at org.apache.cassandra.db.Memtable.put(Memtable.java:282)
at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1335)
at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626)
at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470)
at org.apache.cassandra.db.Mutation.apply(Mutation.java:227)
at org.apache.cassandra.db.Mutation.apply(Mutation.java:232)
at org.apache.cassandra.db.Mutation.apply(Mutation.java:241)
at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternalWithoutCondition(ModificationStatement.java:587)
at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(ModificationStatement.java:581)
at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:363)
at org.apache.cassandra.db.SystemKeyspace.persistLocalMetadata(SystemKeyspace.java:520)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:221)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 5
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at org.github.jamm.MemoryLayoutSpecification.getEffectiveMemoryLayoutSpecification(MemoryLayoutSpecification.java:190)
at org.github.jamm.MemoryLayoutSpecification.<clinit>(MemoryLayoutSpecification.java:31)
... 25 more
ERROR [main] 2018-10-26 15:11:28,682 CassandraDaemon.java:708 - Exception encountered during startup
java.lang.ExceptionInInitializerError: null
at org.apache.cassandra.utils.ObjectSizes.sizeOfReferenceArray(ObjectSizes.java:79) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.utils.ObjectSizes.sizeOfArray(ObjectSizes.java:89) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.utils.ObjectSizes.sizeOnHeapExcludingData(ObjectSizes.java:112) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.AbstractBufferClusteringPrefix.unsharedHeapSizeExcludingData(AbstractBufferClusteringPrefix.java:70) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.rows.BTreeRow.unsharedHeapSizeExcludingData(BTreeRow.java:440) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:336) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.partitions.AtomicBTreePartition$RowUpdater.apply(AtomicBTreePartition.java:295) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.utils.btree.BTree.buildInternal(BTree.java:139) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.utils.btree.BTree.build(BTree.java:121) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.utils.btree.BTree.update(BTree.java:178) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.partitions.AtomicBTreePartition.addAllWithSizeDelta(AtomicBTreePartition.java:156) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Memtable.put(Memtable.java:282) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1335) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:626) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:470) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Mutation.apply(Mutation.java:227) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Mutation.apply(Mutation.java:232) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.Mutation.apply(Mutation.java:241) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternalWithoutCondition(ModificationStatement.java:587) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(ModificationStatement.java:581) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:363) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.db.SystemKeyspace.persistLocalMetadata(SystemKeyspace.java:520) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:221) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) ~[apache-cassandra-3.11.3.jar:3.11.3]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) ~[apache-cassandra-3.11.3.jar:3.11.3]
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 5
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) ~[na:na]
at java.base/java.lang.String.substring(String.java:1874) ~[na:na]
at org.github.jamm.MemoryLayoutSpecification.getEffectiveMemoryLayoutSpecification(MemoryLayoutSpecification.java:190) ~[jamm-0.3.0.jar:na]
at org.github.jamm.MemoryLayoutSpecification.<clinit>(MemoryLayoutSpecification.java:31) ~[jamm-0.3.0.jar:na]
... 25 common frames omitted
我猜,某处没有初始化,或者存在与Java相关的不兼容性。有人有什么想法吗?
对Java的支持
您可以在下面的博客文章中阅读更多关于即将发布的版本和Java11的信息。
我试图在Python中初始化火花上下文变量。 但我得到了以下错误: py4j。协议Py4JJavaError:调用None时出错。组织。阿帕奇。火花应用程序编程接口。JAVAJavaSparkContext.:JAVAlang.NoClassDefFoundError:无法初始化类组织。阿帕奇。火花内部的配置。组织上的包$ 。阿帕奇。火花斯帕克孔夫。在组织上验证设置(SparkConf.scala
我有一个使用MIP SDK的Azure函数,当调用< code>MIP时,我得到以下错误。CreateMipContext(...): 令人惊讶的是,该错误仅在 Azure 上运行时发生。在本地运行时,一切都很好。 我正在使用MIP SDK v1.8.86和.NET Core 3.1。 知道OneDS是什么或者是什么导致了错误吗?
新CONF:我做了一些改变来配合你所说的。现在我删除了hibernate-cfg.xml并在spring-servlet.xml中做了所有的conf: 它可能来自我的java文件吗? 错误是: Bean 类 [org.springframework.orm.hibernate4.LocalSessionFactoryBean] 的属性 'transaction' 无效:Bean 属性 'trans
我试图在一个课程中使用xampp,但我无法使tomcat正常工作,我得到的错误是: Tomcat启动/停止时出现错误,返回代码:1确保安装了Java JDK或JRE,并且所需端口空闲,有关详细信息,请检查“/xampp/tomcat/logs”文件夹 我见过很多有这个问题的人,但他们得到的建议都没有帮助我摆脱它。 我已经确定了环境变量如下所示: CATALINA_HOME:C:\XAMPP\Tom
当我在iReport 5.1.0中预览JasperReports的报告时,它执行得很好。它包含一个饼图,当我需要从jsp文件运行它时,问题就来了。 烧烤-1.5-beta1.jar commons-beanutils-1.8.2.jar Commons-Collections-3.2.1.jar commons-digester-2.1.jar commons-javaflow-20060411.
问题内容: Using Laradock System Info: Docker版本:17.10.0-ce,构建f4ffd25 OS:Windows 10 Home When I run 遇到错误。以下是 docker日志 [Note] Basedir set to /usr/ [Warning] The syntax ‘–symbolic-links/-s’ is deprecated and