我有一台 Cassandra 1.0.9 服务器,它被设置为集群的种子。它有大约 34gb 的数据。我正在尝试将第二个 Cassandra 1.0.9 加入到环中,并将第一个设置为种子。
在 /var/lib/cassandra/log/cassandra.log 我看到:
INFO 20:06:52,809 JOINING: waiting for schema information to complete
INFO 20:07:22,815 JOINING: waiting for schema information to complete
INFO 20:07:52,817 JOINING: waiting for schema information to complete
.
.
.
INFO 20:10:22,839 JOINING: waiting for schema information to complete
INFO 20:10:52,841 JOINING: waiting for schema information to complete
INFO 20:11:22,847 JOINING: waiting for schema information to complete
在 /var/log/cassandra/system 日志中,我看到:
INFO [main] 2012-09-11 20:19:52,913 StorageService.java (line 668) JOINING: waiting for schema information to complete
INFO [main] 2012-09-11 20:20:22,919 StorageService.java (line 668) JOINING: waiting for schema information to complete
INFO [main] 2012-09-11 20:20:52,921 StorageService.java (line 668) JOINING: waiting for schema information to complete
.
.
.
INFO [main] 2012-09-11 20:23:22,943 StorageService.java (line 668) JOINING: waiting for schema information to complete
INFO [main] 2012-09-11 20:23:52,945 StorageService.java (line 668) JOINING: waiting for schema information to complete
INFO [main] 2012-09-11 20:24:22,951 StorageService.java (line 668) JOINING: waiting for schema information to complete
运行 netstats 给了我:
Mode: JOINING
Not sending any streams.
Not receiving any streams.
Pool Name Active Pending Completed
Commands n/a 0 5
Responses n/a 0 51966
知道这需要多长时间吗?