Merge pull request #336 from mridulm/yarn

Fix issues with the branch to allow it to work on non trivial YARN clusters
Merge pull request #383 from mridulm/yarn

Bugfixes to yarn branch
Merge pull request #533 from mridulm/yarn

Fix performance issues and bugs in YARN branch.