Uploading a Spark Application File

This functionality is not yet available in the Command Line Interface, Web Management Console, GigaSpaces Management Center, or Administration API administration tools.

To upload a Spark Application:


POST /spark/applications/resources


This option uploads a Spark application resource file. YOu can use the example application file provided in the following directory: $GS_HOME/insightedge/examples/jars/insightedge-examples.jar

Example Request:

curl -X PUT --form file=@$GS_HOME/insightedge/examples/jars/insightedge-examples.jar http://localhost:8090/v2/spark/applications/resources

Example Response:

A URL to the uploaded application resource file