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

Uploading a Spark Application File


Info

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:

Path

POST /spark/applications/resources

Description:

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

http://localhost:8090/v2/spark-applications/insightedge-examples.jar