[tools] Fix tools/jenkins/build-functions so the hadoop tests run on OS X
[desktop] Fix pseudo_hdfs4 starting up a yarn nodemanager