hadoop SR
[slapos.git] / software / hadoop / instance.cfg.in
1 [buildout]
2
3 parts =
4   sh-environment
5
6
7 [sh-environment]
8 # environment needed for running/debugging the applications, exported to a shell script to be sourced.
9 recipe = collective.recipe.template
10 output = $${buildout:directory}/environment.sh
11 input = inline:
12   export JAVA_HOME="${java:location}"
13   export HADOOP_PREFIX="${hadoop:location}"
14   export HADOOP_HOME="${hadoop:location} "
15   export HADOOP_COMMON_HOME="${hadoop:location}"
16   export HADOOP_CONF_DIR="$${buildout:directory}/etc/hadoop"
17   export HADOOP_HDFS_HOME="${hadoop:location}"
18   export HADOOP_MAPRED_HOME="${hadoop:location}"
19   export HADOOP_YARN_HOME="${hadoop:location}"
20
21