Commit 079c0a49 by Marco Mariani

hadoop SR

1 parent 0f99ef95
[buildout]
parts =
sh-environment
[sh-environment]
# environment needed for running/debugging the applications, exported to a shell script to be sourced.
recipe = collective.recipe.template
output = $${buildout:directory}/environment.sh
input = inline:
export JAVA_HOME="${java:location}"
export HADOOP_PREFIX="${hadoop:location}"
export HADOOP_HOME="${hadoop:location} "
export HADOOP_COMMON_HOME="${hadoop:location}"
export HADOOP_CONF_DIR="$${buildout:directory}/etc/hadoop"
export HADOOP_HDFS_HOME="${hadoop:location}"
export HADOOP_MAPRED_HOME="${hadoop:location}"
export HADOOP_YARN_HOME="${hadoop:location}"
[buildout]
extends =
../../stack/slapos.cfg
../../component/java/buildout.cfg
parts =
slapos-cookbook
java
hadoop
instance
[hadoop]
recipe = hexagonit.recipe.download
url = http://apache.mirrors.spacedump.net/hadoop/common/stable/hadoop-2.2.0.tar.gz
md5sum = 25f27eb0b5617e47c032319c0bfd9962
strip-top-level-dir = true
[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
output = ${buildout:directory}/instance.cfg
# md5sum =
mode = 0644
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!