prepare for remote hadoop execution