NOTE: RubiX Admin currently only supports RPM-based Linux distributions.
RubiX Admin should be installed on the Presto/Spark/Hadoop2 cluster master node.
git clone https://github.com/qubole/rubix-admin.git
cd rubix-admin
virtualenv venv
source venv/bin/activate
python setup.py install
pip install rubix-admin
RubiX Admin expects a configuration file at ~/.radminrc
. This file can be
generated by running the following command:
rubix_admin -h
Edit the configuration file to include the worker node IPs.
coordinator:
- localhost
workers:
- <worker-ip1>
- <worker-ip2>
..
remote_packages_path: /tmp/rubix_rpms
To install the latest version of RubiX:
rubix_admin installer install --cluster-type {presto,spark}
To install RubiX from an RPM file (which can be generated from the Qubole RubiX project):
rubix_admin installer install --cluster-type {presto,spark} --rpm <path to RubiX rpm>
rubix_admin daemon start
You can verify that the BookKeeperServer and LocalDataTransferServer daemons
have started by running sudo jps -m
on each node in cluster.