Cassandra 升级后DSE Gremlin架构错误(Datastax 5.0至5.1)
在将Datastax Cassandra从5.0版升级到5.1版之后,我们得到了 如下所述,连接到现有键空间时出现gremlin错误,而在图形中创建新键空间并通过gremlin连接时没有问题Cassandra 升级后DSE Gremlin架构错误(Datastax 5.0至5.1),cassandra,datastax-enterprise,datastax-enterprise-graph,Cassandra,Datastax Enterprise,Datastax Enterprise Graph,在将Datastax Cassandra从5.0版升级到5.1版之后,我们得到了 如下所述,连接到现有键空间时出现gremlin错误,而在图形中创建新键空间并通过gremlin连接时没有问题 $gremlin> :remote config alias g chat_bot.g ==>g=chat_bot.g $gremlin> schema 1) 注入构造函数时出错 com.datastax.bdp.gcore.datastore.DataStoreException: F
$gremlin> :remote config alias g chat_bot.g
==>g=chat_bot.g
$gremlin> schema
1) 注入构造函数时出错
com.datastax.bdp.gcore.datastore.DataStoreException: Failed to execute statement
at com.datastax.bdp.graph.impl.DseGraphImpl.<init>(DseGraphImpl.java:159)
at com.datastax.bdp.graph.impl.GraphModule.configure(Unknown Source) (via modules: com.datastax.bdp.graph.impl.DseGraphFactoryImpl$$Lambda$760/154747472 -> com.google.inject.util.Modules$OverrideModule -> com.datastax.bdp.graph.impl.GraphModule)
while locating com.datastax.bdp.graph.impl.DseGraphImpl
1 error
at org.apache.tinkerpop.gremlin.console.groovy.plugin.DriverRemoteAcceptor.submit(DriverRemoteAcceptor.java:172)
at org.apache.tinkerpop.gremlin.console.GremlinGroovysh.execute(GremlinGroovysh.groovy:99)
at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122)
at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:124)
at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83)
at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)
at org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:169)
at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:232)
at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:424)
WARN[ReadStage-2]2017-05-10 12:21:34818 ReadCommand.java:532-读取9行实时数据和4881个逻辑删除单元格,用于查询选择*来自cordiant_chat.chat_onlineusers_status,其中org_id=2限制5000(参见逻辑删除警告阈值)
WARN[ReadStage-1]2017-05-10 12:21:34837 ReadCommand.java:532-读取9行实时数据和4881个逻辑删除单元格,用于查询选择*来自cordiant_chat.chat_onlineusers_status,其中org_id=2限制5000(参见逻辑删除警告阈值)
root@ip-10-10-1-36:#
没有人可以帮忙吗?您是否尝试过
schema.descripe()
?是的。同样的错误。您可以详细说明您使用或遵循的确切升级过程吗?另外,您是否在节点/system.log
中看到任何错误?我们已在3个节点中逐一完成了下面提到的步骤。。。。nodetool flush nodetool upgradessstables java-版本nodetool drain/etc/init.d/dse stop sudo apt get update sudo apt get install dse full/etc/init.d/dse start nodetool upgrades表尾/var/log/cassandra/system.log具有输出
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:652) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:575) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:489) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:451) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [netty-all-4.0.42.Final.jar:4.0.42.Final]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_74]