compile hadoop sample