[spark] Version 2 with REST Job Server API