I have dse service running and I am starting job tracker by using dse cassandra -t -j and I get the error:
xss = -ea -javaagent:/usr/share/dse/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1935M -Xmx1935M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss180k
[root@INFCABAT3 cassandra]# Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7299; nested exception is:
java.net.BindException: Address already in use
When I stop dse service and start the job tracker it works fine. But when I try to start dse I get error:
INFO [pool-1-thread-1] 2013-08-22 05:53:20,070 PluginManager.java (line 187) Plugin activated: com.datastax.bdp.plugin.AuditLoggerPlugin
INFO [main] 2013-08-22 05:53:20,098 DseDaemon.java (line 292) Binding thrift service to /0.0.0.0:9160
ERROR [main] 2013-08-22 05:53:20,106 DseDaemon.java (line 252) Unable to start DSE server.
java.lang.RuntimeException: Unable to create thrift socket to /0.0.0.0:9160
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:241)
at org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:46)
at com.datastax.bdp.server.DseDaemon$ThriftServer.<init>(DseDaemon.java:334)
at com.datastax.bdp.server.DseDaemon.startServer(DseDaemon.java:243)
at org.apache.cassandra.service.AbstractCassandraDaemon.startRPCServer(AbstractCassandraDaemon.java:337)
at org.apache.cassandra.service.AbstractCassandraDaemon.start(AbstractCassandraDaemon.java:309)
at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:406)
at com.datastax.bdp.server.DseDaemon.main(DseDaemon.java:355)
Caused by: org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address /0.0.0.0:9160.
at org.apache.cassandra.thrift.TCustomServerSocket.<init>(TCustomServerSocket.java:98)
at org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory.buildTServer(CustomTThreadPoolServer.java:237)