Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| # Cassandra on EC2 using Apache Whirr trunk (18 January 2012) | |
| # Clone the repo from the Apache servers | |
| git clone git://git.apache.org/whirr.git | |
| cd whirr | |
| # build binary artefacts on your machine | |
| mvn clean install |
| import logging | |
| import gevent | |
| from gevent.queue import Queue | |
| from thrift.server.TServer import TServer | |
| from thrift.transport.TTransport import TTransportException | |
| # In-memory Cassandra-ish thingy... useful for unit tests. Maybe useful for other | |
| # stuff too? No support for SuperColumns, but that should be easy enough to add. | |
| import bisect | |
| import copy | |
| from cassandra.ttypes import NotFoundException, Column, ColumnPath, ColumnOrSuperColumn | |
| class SSTable(object): |