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?

有帮助吗?

解决方案

This is how its done in 0.8.1

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

This goes into your properties file.

其他提示

## Install CDH4 Yarn 
whirr.hadoop.install-function=install_cdh_hadoop
whirr.hadoop.configure-function=configure_cdh_hadoop
whirr.yarn.configure-function=configure_cdh_yarn
whirr.yarn.start-function=start_cdh_yarn
whirr.mr_jobhistory.start-function=start_cdh_mr_jobhistory
whirr.env.REPO=cdh4
whirr.env.MAPREDUCE_VERSION=2

## Install CDH4 MRV1
whirr.hadoop.install-function=install_cdh_hadoop
whirr.hadoop.configure-function=configure_cdh_hadoop
whirr.env.REPO=cdh4
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top