spark version detection