Skip to content

StandaloneRestServer

StandaloneRestServer is a RestSubmissionServer.

Creating Instance

StandaloneRestServer takes the following to be created:

  • Host Name
  • Requested Port
  • SparkConf
  • RpcEndpointRef of the Master
  • URL of the Master

StandaloneRestServer is created when:

StandaloneSubmitRequestServlet

StandaloneRestServer uses a StandaloneSubmitRequestServlet as the submitRequestServlet.

StandaloneSubmitRequestServlet requires the following parameters:

  • appResource (the jar of a Spark application)
  • mainClass
Back to top