3.2. sync

3.2.1. sync host bigtop hadoop config

rocks sync host bigtop hadoop config [test=bool]

Reconfigure BIGTOP Hadoop on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host bigtop hadoop config compute-0-0

Rewrite /etc/sysconfig/hadoop and /root/HadoopConfigurator then run the HadoopConfigurator on host compute-0-0

# rocks sync host bigtop hadoop config test=yes compute-0-0

Show the bash script that will run to rewrite /etc/sysconfig/hadoop on host compute-0-0

3.2.2. sync host bigtop hadoop install

rocks sync host bigtop hadoop install [test=bool]

Install hadoop on the named hosts.

parameters

[test=bool]

If want to test output set this parameter. Default is no.

examples

# rocks sync host bigtop hadoop install node-0-0

add hdfs user, add hadoop group, and install hadoop rpms on host node-0-0 if attr BIGTOP_HADOOP is set on host.

# rocks sync host bigtop hadoop install node-0-0 test=yes

Show the bash script that will run to install hadoop on host node-0-0