fix spark version (latest one only works with java 7)