You can buy this project and download/modify it how often you want.
package io.hydrosphere.mist.lib.spark1 trait MLMistJob extends ContextSupport