export HADOOP_HOME=/usr/lib/hadoop-hdfs
export JAVA_HOME={{ java_home }}
{% if hadoop_send_to_logstash %}
export HADOOP_ROOT_LOGGER="{{ hadoop_log_level }},{{ hadoop_logstash_appender }}"
export HADOOP_MAPRED_ROOT_LOGGER="{{ hadoop_log_level }},{{ hadoop_logstash_appender }}"
{% else %}
export HADOOP_ROOT_LOGGER="{{ hadoop_log_level }},{{ hadoop_log_appender }}"
export HADOOP_MAPRED_ROOT_LOGGER="{{ hadoop_log_level }},{{ hadoop_log_appender }}"
{% endif %}
