Provide a thin, convenience wrapper around the Cloudera Director Client
- Python 2.6+
- Cloudera Manager Python Client 5+
- Cloudera Director Client 1.0+
The Cloudera Director Client installation:
The Cloudera Manager python client installation (requires Python):
git clone git://github.com/cloudera/cm_api.git
cd cm_api/python
python setup.py install
The Cloudera Director wrapper build and installation:
git clone https://github.com/ggear/cloudera-director-wrapper.git
cd cloudera-director-wrapper
mvn clean install
mkdir -p /usr/lib64/cloudera-director/wrapper
tar xvzf target/cloudera-director-wrapper-*-bin.tar.gz -C /usr/lib64/cloudera-director/wrapper --strip 1
The shell environment should include home directories pointing to the Director and Wrapper installs:
export DIRECTOR_CLIENT_HOME=/usr/lib64/cloudera-director/client
export DIRECTOR_CLIENT_WRAPPER_HOME=/usr/lib64/cloudera-director/wrapper
The Director Client Wrapper is driven by a single configuration file, an example of which ships with the install:
vi /usr/lib64/cloudera-director/wrapper/cfg/cluster.conf
The Director Client Wrapper runs transparently over a local Director Client:
cloudera-director clean
cloudera-director bootstrap
cloudera-director client
or can be run from a remote machine (bootstrap is run as a resumable deamon processs):
cloudera-director-remote my-user@my.host.com clean
cloudera-director-remote my-user@my.host.com bootstrap
cloudera-director-remote my-user@my.host.com client