How to test the Batch Applications Using the Livy API
Following is the SparkPi test job submitted through Livy API:
To submit the SparkPi job using Livy, you should upload the required jar files to HDFS before running the job. This is the main difference between the Livy API and spark-submit.