#!/usr/bin/env bash for i in `ls %%HADOOP_ETC%%/envvars.d/*.env` do . ${i} done exec %%HADOOP_HOME%%/bin/hadoop $@