General Cube Info
The All Spark Cube was built in 2012-2013 by Adaptive Computing and friends. More info is available here:
Cube Client Libraries
To interact with the All Spark Cube, you'll need a client library for your preferred programming language. There are currently cube clients for Python and Java. Skip to the relevant section for your language.
Python Client Install
- Install the python client library using pip. If you don't
have pip installed, get it here.
You can safely ignore the 10 or so warnings generated by pip, these are a part of the underlying Thrift library, and don't affect the cube client library.$ pip install all_spark_cube_client
- Download and run
the Hello
World demo:
The cube should update and you should see "Success..." on your command line. If you get errors instead, open the helloworld.py file and make sure the HOST parameter is set to the correct network address for the cube. You should also make sure the cube is turned on and reachable over the network.$ wget -O helloworld.py http://git.io/hellopycube $ python helloworld.py
Java Client Install
TBD
Cube Server Install
$ sudo yum install thrift boost supervisor
$ git clone https://github.com/chadharrington/all_spark_cube.git
$ cd all_spark_cube/software
$ make
$ cd server
$ sudo make install
$ sudo reboot now
The server will automatically start on reboot / powerup.
Support
Having trouble? Open an issue.