I switched from flink to spark and I am missing the option to submit jobs via web UI.
Until now I submitted all spark jobs per command line.
Is there a a way to submit jobs via the spark web interface?
I switched from flink to spark and I am missing the option to submit jobs via web UI.
Until now I submitted all spark jobs per command line.
Is there a a way to submit jobs via the spark web interface?
Yes, there is one way you can trigger Spark job through a web application.
I tried this long back and I don't have exact documentation with me right now.
I will try to explain the steps as far as I remember, you can give a shot
You can use oozie
to do the same
Create spark job and zip into a fat jar and place this into hdfs
Create shell script to submit this spark job and place this file into hdfs
Create job.properties
and workflow.xml
specific to oozie
Place workflow.xml
file into hdfs
Submit oozie job using job.properties
Deploy UI application using which you want to trigger spark job into oozie/webapp/ROOT
Web application will be using oozie rest services to interact with the running oozie job
Now access your web application through browser and may be based on some button click you can submit the spark job
Found spark-jobserver library which helps to submit and monitor Apache Spark jobs through REST interface.
Hope this helps you...
As always, accept or upvote if my answer was helpful to you... :)
Is there a a way to submit jobs via the spark web interface?
No.
I would submit my job via the command line and then monitor it via the Spark Web Interface. Except of course if you would use oozie.