updated hadoop sample app