This page describes an older version of the product. The latest stable version is 16.2.1.

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: <XAP-ROOT>/insightedge/examples/jars/insightedge-examples.jar

Example Request:

curl -X PUT --form file=@<XAP-HOME>/insightedge/examples/jars/insightedge-examples.jar http://localhost:8090/v2/spark/applications/resources

Example Response:

A URL to the uploaded application resource file