Added start ssh in the running loop + Fix build-hadoop.sh

Fix build-hadoop.sh