com.github.ywilkof.sparkrestclient.interfaces.JobSubmitRequestSpecification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-jobs-rest-client Show documentation
Show all versions of spark-jobs-rest-client Show documentation
Fluent utility client for interacting with Spark Standalone Mode's Rest API for submitting, killing and monitoring the state of jobs.
package com.github.ywilkof.sparkrestclient.interfaces;
import com.github.ywilkof.sparkrestclient.FailedSparkRequestException;
import java.util.List;
import java.util.Set;
/**
* Created by yonatan on 17.10.15.
*/
public interface JobSubmitRequestSpecification {
JobSubmitRequestSpecification appResource(String appResource);
JobSubmitRequestSpecification appArgs(List appArgs);
JobSubmitRequestSpecification mainClass(String mainClass);
JobSubmitRequestSpecification appName(String appName);
JobSubmitRequestSpecification usingJars(Set jars);
SparkPropertiesSpecification withProperties();
String submit() throws FailedSparkRequestException;
}