Read spark parameters from configuration