我正在使用ubuntu 16.04 LTS
。
我已经使用this程序安装了datastax
。
它工作的第一天就完美了。
但现在它没有用。这是
screenshot
我的debug.log
:
ERROR [main] 2017-01-30 13:54:08,951 DseDaemon.java:490 - Unable to start DSE server.
java.lang.RuntimeException: Unable to create thrift socket to localhost/127.0.0.1:9042
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:269) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:46) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>(ThriftServer.java:131) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.ThriftServer.start(ThriftServer.java:58) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at com.datastax.bdp.server.DseThriftServer.start(DseThriftServer.java:46) ~[dse-core-5.0.5.jar:5.0.5]
at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:486) [cassandra-all-3.0.11.1485.jar:3.0.11.1485]
at com.datastax.bdp.server.DseDaemon.start(DseDaemon.java:485) ~[dse-core-5.0.5.jar:5.0.5]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:583) [cassandra-all-3.0.11.1485.jar:3.0.11.1485]
at com.datastax.bdp.DseModule.main(DseModule.java:91) [dse-core-5.0.5.jar:5.0.5]
Caused by: org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address localhost/127.0.0.1:9042.
at org.apache.cassandra.thrift.TCustomServerSocket.<init>(TCustomServerSocket.java:75) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:264) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
... 8 common frames omitted
ERROR [main] 2017-01-30 13:54:08,952 CassandraDaemon.java:709 - Exception encountered during startup
java.lang.RuntimeException: java.lang.RuntimeException: Unable to create thrift socket to localhost/127.0.0.1:9042
at com.datastax.bdp.server.DseDaemon.start(DseDaemon.java:493) ~[dse-core-5.0.5.jar:5.0.5]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:583) ~[cassandra-all-3.0.11.1485.jar:3.0.11.1485]
at com.datastax.bdp.DseModule.main(DseModule.java:91) [dse-core-5.0.5.jar:5.0.5]
Caused by: java.lang.RuntimeException: Unable to create thrift socket to localhost/127.0.0.1:9042
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:269) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:46) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>(ThriftServer.java:131) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.ThriftServer.start(ThriftServer.java:58) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at com.datastax.bdp.server.DseThriftServer.start(DseThriftServer.java:46) ~[dse-core-5.0.5.jar:5.0.5]
at org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:486) ~[cassandra-all-3.0.11.1485.jar:3.0.11.1485]
at com.datastax.bdp.server.DseDaemon.start(DseDaemon.java:485) ~[dse-core-5.0.5.jar:5.0.5]
... 2 common frames omitted
Caused by: org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address localhost/127.0.0.1:9042.
at org.apache.cassandra.thrift.TCustomServerSocket.<init>(TCustomServerSocket.java:75) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:264) ~[cassandra-all-3.0.11.1485.jar:5.0.5]
... 8 common frames omitted
INFO [Daemon shutdown] 2017-01-30 13:54:08,953 DseDaemon.java:577 - DSE shutting down...
DEBUG [StorageServiceShutdownHook] 2017-01-30 13:54:08,954 StorageService.java:1210 - DRAINING: starting drain process
INFO [StorageServiceShutdownHook] 2017-01-30 13:54:08,955 HintsService.java:212 - Paused hints dispatch
INFO [Daemon shutdown] 2017-01-30 13:54:08,957 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.plugin.health.NodeHealthPlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,958 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.plugin.DseClientToolPlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,959 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.plugin.InternalQueryRouterPlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,959 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.leasemanager.LeasePlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,962 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.cassandra.cql3.CqlSlowLogPlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,966 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.cassandra.metrics.PerformanceObjectsPlugin
INFO [Daemon shutdown] 2017-01-30 13:54:08,966 PluginManager.java:347 - Deactivating plugin: com.datastax.bdp.plugin.ThreadPoolPlugin