The following are short examples of how to customize Hadoop using Rocks commands.
Change default Hadoop Node Name on all compute Appliances:
rocks set appliance attr compute BIGTOP_HadoopNameNode value=hadoop-0-0 rocks sync host bigtop hadoop config compute |
Change default Hadoop Secondary Name on all compute Appliances:
rocks set appliance attr compute BIGTOP_HadoopSecondaryNameNode value=hadoop-0-1 rocks sync host bigtop hadoop config compute |
Change default Hadoop Data Dir on all compute Appliances, for example two data disks on compute nodes:
rocks set appliance attr compute BIGTOP_HadoopData value="file:///hadoop/data,file:///hadoop2/data" rocks sync host bigtop hadoop config compute |