在连接后端

时间:2017-08-03 07:34:35

标签: graph janusgraph

我试图运行./bin/gremlin-server.sh ./conf/gremlin-server/gremlin-server.yaml

我可以在进程列表中看到cassandra,但客户端无法连接,我一直收到此错误:

  

263 [main] INFO org.apache.tinkerpop.gremlin.server.GremlinServer -   从中配置Gremlin Server   ./conf/gremlin-server/gremlin-server.yaml 400 [主要]信息   org.apache.tinkerpop.gremlin.server.util.MetricManager - 已配置   度量标准ConsoleReporter配置为报告间隔= 180000ms 402   [主要] INFO org.apache.tinkerpop.gremlin.server.util.MetricManager -   已配置的度量标准CsvReporter配置了报告   interval = 180000ms to fileName = / tmp / gremlin-server-metrics.csv 484   [主要] INFO org.apache.tinkerpop.gremlin.server.util.MetricManager -   配置了使用domain =和agentId =配置的度量标准JmxReporter   488 [主要]信息   org.apache.tinkerpop.gremlin.server.util.MetricManager - 已配置   度量Slf4jReporter配置为interval = 180000ms和   loggerName = org.apache.tinkerpop.gremlin.server.Settings $ Slf4jReporterMetrics   1085 [main] WARN org.apache.tinkerpop.gremlin.server.GremlinServer -   图形[图形]配置为   [conf / gremlin-server / janusgraph-cassandra-es-server.properties]可以   没有实例化,将无法在Gremlin Server中使用。   GraphFactory消息:GraphFactory无法实例化此Graph   实现[class org.janusgraph.core.JanusGraphFactory]   java.lang.RuntimeException:GraphFactory无法实例化它   图实现[class org.janusgraph.core.JanusGraphFactory] ​​at   org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:82)     在   org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70)     在   org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)     在   org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager.lambda $新的$ 0(DefaultGraphManager.java:57)     在   java.util.LinkedHashMap中的$ LinkedEntrySet.forEach(LinkedHashMap.java:671)     在   org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager。(DefaultGraphManager.java:55)     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native   方法)at   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     在   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)     在   org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor。(ServerGremlinExecutor.java:111)     在   org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor。(ServerGremlinExecutor.java:90)     在   org.apache.tinkerpop.gremlin.server.GremlinServer。(GremlinServer.java:110)     在   org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:354)   引起:java.lang.reflect.InvocationTargetException at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     在   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     在java.lang.reflect.Method.invoke(Method.java:498)at   org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78)     ... 13更多引起:java.lang.IllegalArgumentException:不能   实例化实现:   org.janusgraph.diskstorage.cassandra.thrift.CassandraThriftStoreManager     在   org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:69)     在   org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:477)     在   org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:409)     在   org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration。(GraphDatabaseConfiguration.java:1353)     在   org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:107)     在   org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:87)     ... 18更多引起:java.lang.reflect.InvocationTargetException     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native   方法)at   sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)     在   sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)     在   org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:58)     ... 23更多引起:   org.janusgraph.diskstorage.TemporaryBackendException:临时   存储后端失败   org.janusgraph.diskstorage.cassandra.thrift.CassandraThriftStoreManager.getCassandraPartitioner(CassandraThriftStoreManager.java:219)     在   org.janusgraph.diskstorage.cassandra.thrift.CassandraThriftStoreManager。(CassandraThriftStoreManager.java:198)     ... 28更多引起:   org.apache.thrift.transport.TTransportException:   java.net.ConnectException:连接被拒绝(连接被拒绝)at   org.apache.thrift.transport.TSocket.open(TSocket.java:185)at at   org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)     在   org.janusgraph.diskstorage.cassandra.thrift.thriftpool.CTConnectionFactory.makeRawConnection(CTConnectionFactory.java:110)     在   org.janusgraph.diskstorage.cassandra.thrift.thriftpool.CTConnectionFactory.makeObject(CTConnectionFactory.java:74)     在   org.janusgraph.diskstorage.cassandra.thrift.thriftpool.CTConnectionFactory.makeObject(CTConnectionFactory.java:43)     在   org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)     在   org.janusgraph.diskstorage.cassandra.thrift.CassandraThriftStoreManager.getCassandraPartitioner(CassandraThriftStoreManager.java:216)     ... 29更多引起:java.net.ConnectException:连接被拒绝   (连接被拒绝)在java.net.PlainSocketImpl.socketConnect(Native   方法)at   java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)     在   java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)     在   java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)     在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)at   java.net.Socket.connect(Socket.java:589)at   org.apache.thrift.transport.TSocket.open(TSocket.java:180)... 35   更多1089 [主要]信息   org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor -   初始化的Gremlin线程池。池中的线程以模式命名   gremlin- * 1877 [主要] INFO   org.apache.tinkerpop.gremlin.groovy.engine.ScriptEngines - 已加载   gremlin-groovy ScriptEngine 2971 [主要]警告   org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor - 可以   不用初始化gremlin-groovy ScriptEngine   scripts / empty-sample.groovy作为脚本无法评估 -   javax.script.ScriptException:groovy.lang.MissingPropertyException:没有   这样的属性:类的图:Script1 2971 [main] INFO   org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor -   初始化GremlinExecutor并准备GremlinScriptEngines   实例。 3043 [主要]信息   org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor -   初始化的gremlin-groovy GremlinScriptEngine和已注册的指标   3094 [main] INFO org.apache.tinkerpop.gremlin.server.op.OpLoader -   添加标准OpProcessor。 3095 [主要]信息   org.apache.tinkerpop.gremlin.server.op.OpLoader - 添加控件   OpProcessor。 3099 [主要]信息   org.apache.tinkerpop.gremlin.server.op.OpLoader - 添加会话   OpProcessor。 3549 [主要]信息   org.apache.tinkerpop.gremlin.server.op.OpLoader - 添加   遍历OpProcessor。 3567 [主要]信息   org.apache.tinkerpop.gremlin.server.op.traversal.TraversalOpProcessor    - TraversalOpProcessor的初始化缓存,大小为1000,到期时间为600000 ms 3676 [main] INFO   org.apache.tinkerpop.gremlin.server.AbstractChannelizer - 已配置   application / vnd.gremlin-v1.0 + gryo with   org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 3679   [主要] INFO org.apache.tinkerpop.gremlin.server.AbstractChannelizer    - 使用org.apache.tinkerpop.gremlin.driver.ser.GryoLiteMessageSerializerV1d0配置application / vnd.gremlin-v1.0 + gryo-lite   3680 [主要]信息   org.apache.tinkerpop.gremlin.server.AbstractChannelizer - 已配置   application / vnd.gremlin-v1.0 + gryo-stringd with   org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0 3685   [main] WARN org.apache.tinkerpop.gremlin.server.AbstractChannelizer    - 无法实例化已配置的序列化程序类 - org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0    - 它将无法使用。没有配置名为[graph]的图形用于useMapperFromGraph设置3730 [main] WARN   org.apache.tinkerpop.gremlin.server.AbstractChannelizer - 不能   实例化配置的序列化程序类 -   org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV2d0    - 它将无法使用。没有配置名为[graph]的图形用于useMapperFromGraph设置3732 [main] WARN   org.apache.tinkerpop.gremlin.server.AbstractChannelizer - 不能   实例化配置的序列化程序类 -   org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0    - 它将无法使用。没有配置为在useMapperFromGraph设置3818中使用的名为[graph]的图形   [gremlin-server-boss-1] INFO   org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server   配置工作线程池为1,gremlin池为4和boss   线程池1. 3818 [gremlin-server-boss-1] INFO   org.apache.tinkerpop.gremlin.server.GremlinServer - 频道已开始   在8182号港口。

0 个答案:

没有答案