changed nm mem config, added init_yarn, create hdfs /tmp dir when initing hdfs