请告诉我他们有什么方法可以检查SIM卡是否处于活动状态。我知道我可以通过使用电话管理器来做到这一点,但我不知道哪种电话管理器方法有帮助。我尝试了很多但没有得到想要的结果。
我在我的Windows机器上安装了Data Stax 3.7(IP:10.175.12.249)并在我的cassandra.yaml文件中进行了以下更改:
cluster_name:'Test_cluster'listen_address:"10.175.12.249"start_rpc:true rpc_address:"0.0.0.0"broadcast_rpc_address:"10.175.12.249"种子:"10.175.12.249"endpoint_snitch:SimpleSnitch
现在,我启动了服务,cassandra在种子节点上正常运行.
我尝试将另一个节点添加到我的群集中.所以我在另一台Windows机器上安装了Data Stax 3.7(IP:192.168.158.78)并对cassandra.yaml文件进行了以下更改:
cluster_name:'Test_cluster'listen_address:"192.168.158.78"start_rpc:true rpc_address:"0.0.0.0"broadcast_rpc_address:"192.168.158.78"种子:"10.175.12.249"endpoint_snitch:SimpleSnitch
现在当我在第二台机器上启动cassandra服务时,我收到以下错误:
INFO 09:41:27 Cassandra version: 3.7.0
INFO 09:41:27 Thrift API version: 20.1.0
INFO 09:41:27 CQL supported versions: 3.4.2 (default: 3.4.2)
INFO 09:41:27 Initializing index summary manager with a memory pool size of 100 MB and a resize interval of 60 minutes
INFO 09:41:27 Starting Messaging Service on /192.168.158.78:7000 (Intel(R) Centrino(R) Advanced-N 6235)
INFO 09:41:27 Scheduling approximate time-check task with a precision of 10 milliseconds
Exception (java.lang.RuntimeException) encountered during startup: …Run Code Online (Sandbox Code Playgroud)