Executing dotnet spark application via Spark REST API #1009
Replies: 1 comment
-
Finally figured out a solution by running spark-submit via the CLI and specifying --master spark://spark:6066 and then comparing the driver launch commands that were executed on the worker node. In case this helps anybody else, here is the body of an example post command (using Postman) for the native Spark REST API to trigger a dotnet spark application. Spark REST API endpoint: http://[localhost or dns name or ip address]:6066/v1/submissions/create
HTH |
Beta Was this translation helpful? Give feedback.
-
Is anybody aware of whether (and how, if possible) it is possible to execute a dotnet spark application using the native spark REST api? For example, I've tried posting the following to the REST api (http://localhost:6066/v1/submissions/create) and the UI indicates that the driver is submitted, but nothing ever happens - it stays in the driver submitted state indefinitely. The same application runs as expected via spark-submit.
The same application executed using spark-submit runs:
Beta Was this translation helpful? Give feedback.
All reactions