Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
Created on 04-12-202107:44 AM - edited on 04-21-202602:05 AM by GrazittiAPI
Introduction
This post explains the process of submitting Spark jobs on CDP Public Cloud Data Hub to the Livy server and provides a sample wrapper script for job submission. To understand the Livy Spark submit process, please refer to this post and understand how to arrive at the job configuration.
The following steps submit the Spark Pi job from the spark_examples*.jar on S3.
Steps
Get the Livy endpoint for Data hub from the CDP control plane
Ensure that you have the workload password set for the environment
Download the Python wrapper script using the following command:
The job should now be submitted to the Data Hub cluster. The wrapper script can also be used on the CDP Private Cloud Base where Livy is configured with Livy.