Search code examples
hadoopapache-whirr

whirr cdh install version control


How can we control the hadoop version being install on ec2 using whirr. I can see the we have the following two line is the config file

whirr.hadoop-install-function=install_cdh_hadoop whirr.hadoop-configure-function=configure_cdh_hadoop

but how do we control what version to install?

CDH3 or CDH4?

Also, MVR1 or MVR2?


Solution

  • This is how its done in 0.8.1

    whirr.env.mapreduce_version=2   
    whirr.env.repo=cdh4
    

    This goes into your properties file.