Last active
January 3, 2016 14:19
-
-
Save AMeng/8475457 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Python Traceback: | |
| File "cassandra-driver/cassandra/cluster.py", line 925,\ in execute result = future.result(timeout) | |
| File "cassandra-driver/cassandra/cluster.py", line 2068,\ in result raise self._final_exception | |
| ReadTimeout: code=1200 [Timeout during read request] message="Operation timed out - received only 8 responses." info={'received_responses': 8, 'data_retrieved': True, 'required_responses': 9, 'consistency': 5} | |
| $ cqlsh | |
| Connected to foo at ***.***.***.***:9160. | |
| [cqlsh 4.1.0 | Cassandra 2.0.4 | CQL spec 3.1.1 | Thrift protocol 19.39.0] | |
| Use HELP for help. | |
| cqlsh> DESCRIBE KEYSPACE foo | |
| CREATE KEYSPACE foo WITH replication = { | |
| 'class': 'NetworkTopologyStrategy', | |
| 'DC1': '3', | |
| 'DC2': '3', | |
| 'DC3': '3' | |
| }; | |
| $ nodetool status foo | |
| Datacenter: DC1 | |
| =============== | |
| Status=Up/Down | |
| |/ State=Normal/Leaving/Joining/Moving | |
| -- Address Load Tokens Owns (effective) Host ID Rack | |
| UN ***.***.***.*** 63.04 MB 256 58.1% ******* RAC1 | |
| UN ***.***.***.*** 67.25 MB 256 61.8% ******* RAC1 | |
| UN ***.***.***.*** 66.08 MB 256 60.6% ******* RAC1 | |
| UN ***.***.***.*** 63.15 MB 256 60.0% ******* RAC1 | |
| UN ***.***.***.*** 61.54 MB 256 59.5% ******* RAC1 | |
| Datacenter: DC2 | |
| =============== | |
| Status=Up/Down | |
| |/ State=Normal/Leaving/Joining/Moving | |
| -- Address Load Tokens Owns (effective) Host ID Rack | |
| UN ***.***.***.*** 61.63 MB 256 60.0% ******* RAC1 | |
| UN ***.***.***.*** 58.12 MB 256 58.4% ******* RAC1 | |
| UN ***.***.***.*** 57.08 MB 256 62.7% ******* RAC1 | |
| UN ***.***.***.*** 62 MB 256 60.9% ******* RAC1 | |
| UN ***.***.***.*** 68.6 MB 256 58.0% ******* RAC1 | |
| Datacenter: DC3 | |
| =============== | |
| Status=Up/Down | |
| |/ State=Normal/Leaving/Joining/Moving | |
| -- Address Load Tokens Owns (effective) Host ID Rack | |
| UN ***.***.***.*** 78.24 MB 256 63.8% ******* RAC1 | |
| UN ***.***.***.*** 54.04 MB 256 57.3% ******* RAC1 | |
| UN ***.***.***.*** 69.62 MB 256 59.0% ******* RAC1 | |
| UN ***.***.***.*** 78.85 MB 256 60.4% ******* RAC1 | |
| UN ***.***.***.*** 78.39 MB 256 59.5% ******* RAC1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment