StandaloneRestServer¶
StandaloneRestServer is a RestSubmissionServer.
Creating Instance¶
StandaloneRestServer takes the following to be created:
StandaloneRestServer is created when:
Masteris requested to onStart (with spark.master.rest.enabled configuration property enabled)
StandaloneSubmitRequestServlet¶
StandaloneRestServer uses a StandaloneSubmitRequestServlet as the submitRequestServlet.
StandaloneSubmitRequestServlet requires the following parameters:
appResource(the jar of a Spark application)mainClass