All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.ywilkof.sparkrestclient.interfaces.JobSubmitRequestSpecification Maven / Gradle / Ivy

Go to download

Fluent utility client for interacting with Spark Standalone Mode's Rest API for submitting, killing and monitoring the state of jobs.

There is a newer version: 1.3.9
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy