我的朋友在挪威的服务器上安装了4个节点。我想添加新的集群。我使用ssh和密码登录。后来sudo su,并重复了100%与他完全相同的操作。当我去
nodetool status
我希望看到节点的状态。
当我去的时候nodetool ring
我想看到所有的节点。
输出
nodetool status
usage: nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
[(-u <username> | --username <username>)]
[(-pw <password> | --password <password>)]
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)] <command>
[<args>]
The most commonly used nodetool commands are:
assassinate Forcefully remove a dead node without re-replicating any data. Use as a last resort if you cannot removenode
bootstrap Monitor/manage node's bootstrap process
为什么会发生这样的事?
service cassandra status
● cassandra.service - LSB: distributed storage system for structured data
Loaded: loaded (/etc/init.d/cassandra; bad; vendor preset: enabled)
Active: active (exited) since ti. 2018-02-06 12:19:58 CET; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 28725 ExecStop=/etc/init.d/cassandra stop (code=exited, status=0/SUCCESS)
Process: 28802 ExecStart=/etc/init.d/cassandra start (code=exited, status=0/SUCCESS)
我查看过用户
cassandra:x:123:130:Cassandra database,,,:/var/lib/cassandra:/bin/false
/bin/false 是什么意思?我使用的是 Ubuntu 16.04。