Как решить проблему с узлом кассандры - PullRequest
0 голосов
/ 17 марта 2020

Я создал три узла Cassandra, изначально он работает нормально, но теперь 2 узла перестают работать. Я пытался

sudo service dse stop

и

sudo service dse start

получил ошибку ниже

Job for dse.service failed because the control process exited with error code.
See "systemctl status dse.service" and "journalctl -xe" for details.
systemctl status dse.service
● dse.service - LSB: DataStax Enterprise
   Loaded: loaded (/etc/init.d/dse; generated)
   Active: failed (Result: exit-code) since Tue 2020-03-17 04:34:24 UTC; 4min 43s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4263 ExecStop=/etc/init.d/dse stop (code=exited, status=0/SUCCESS)
  Process: 11273 ExecStart=/etc/init.d/dse start (code=exited, status=1/FAILURE)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/dse.service

Mar 17 04:34:14 cstar-node1 su[11442]: pam_unix(su:session): session closed for user cassandra
Mar 17 04:34:14 cstar-node1 su[11456]: Successful su for cassandra by root
Mar 17 04:34:14 cstar-node1 su[11456]: + ??? root:cassandra
Mar 17 04:34:14 cstar-node1 su[11456]: pam_unix(su:session): session opened for user cassandra by (uid=0)
Mar 17 04:34:14 cstar-node1 su[11456]: pam_unix(su:session): session closed for user cassandra
Mar 17 04:34:24 cstar-node1 dse[11273]: ERROR: DSE failed to start. Please check your logs.
Mar 17 04:34:24 cstar-node1 dse[11273]:    ...fail!
Mar 17 04:34:24 cstar-node1 systemd[1]: dse.service: Control process exited, code=exited status=1
Mar 17 04:34:24 cstar-node1 systemd[1]: dse.service: Failed with result 'exit-code'.
Mar 17 04:34:24 cstar-node1 systemd[1]: Failed to start LSB: DataStax Enterprise.

только один узел UP

nodetool status
Datacenter: Cassandra
=====================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address       Load       Tokens       Owns    Host ID                               Rack
DN  X.X.X.X   ?          1            ?       46fdfb5e-238c-476b-a243-184a530fg30e  rack1
UN  X.X.X.Y  207.4 KiB  1            ?       7fasd242-891d-4ecf-ggef-0f8hffarr434  rack1
DN  X.X.X.Z  ?          1            ?       34ffda2f-46d2-443d-4546-33c55cface2c  rack1

как решить эту ошибку? Кто-нибудь может мне помочь.

Заранее спасибо.

...