Commit e61c686e authored by Marco Mariani's avatar Marco Mariani

hadoop: instance.cfg

parent 079c0a49
[buildout] [buildout]
parts = parts =
deploy-config
sh-environment sh-environment
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
[sh-environment] [sh-environment]
# environment needed for running/debugging the applications, exported to a shell script to be sourced. # environment needed for running/debugging the applications, exported to a shell script to be sourced.
...@@ -19,3 +23,13 @@ input = inline: ...@@ -19,3 +23,13 @@ input = inline:
export HADOOP_YARN_HOME="${hadoop:location}" export HADOOP_YARN_HOME="${hadoop:location}"
[deploy-config]
recipe = cp.recipe.cmd
update_cmd = /bin/true
install_cmd =
cp -a ${hadoop:location}/etc $${buildout:directory}/
...@@ -6,11 +6,20 @@ extends = ...@@ -6,11 +6,20 @@ extends =
parts = parts =
slapos-cookbook slapos-cookbook
eggs
java java
hadoop hadoop
instance instance
[eggs]
recipe = zc.recipe.egg
eggs =
slapos.cookbook
collective.recipe.template
cp.recipe.cmd
[hadoop] [hadoop]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = http://apache.mirrors.spacedump.net/hadoop/common/stable/hadoop-2.2.0.tar.gz url = http://apache.mirrors.spacedump.net/hadoop/common/stable/hadoop-2.2.0.tar.gz
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment