whirr cdh install version control
-
18-06-2021 - |
문제
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
제휴하지 않습니다 StackOverflow