Looks like the gateway wasn't written through, strangely, my echo doesn't show any missing environment variable:

```

ubuntu@ip-172-31-23-254:~$ yarn applicationNo HADOOP_CONF_DIR set.Please specify it either in yarn-env.sh or in the environment.ubuntu@ip-172-31-23-254:~$ echo $HADOOP_CONF_DIR/etc/spark/conf/yarn-conf:/etc/hive/conf