export HADOOP_COMMON_LIB_NATIVE_DIR=/opt/ha/hadoop-3.1.3/lib/nativeexport HADOOP_OPTS="-Djava.library.path=/opt/ha/hadoop-3.1.3/lib"
running with master 'yarn' either HADOOP_CONF_DIR or YARN_CONF_DIR must be set in the environment.
export HADOOP_CONF_DIR=/opt/ha/hadoop-3.1.3/etc/hadoop