create /user/vagrant directory and fix permissions of /tmp/hadoop-yarn/staging/history/done to make the jobhistory server work