Creating your jar file
Inorder to build your own spark code in Docube,you will need to
- Install JDK and SBT
(Installation steps/guide are available in the internet demostrating this).
You can use the below link as a reference for installing JDK and SBT.
https://www.youtube.com/playlist?list=PLS1QulWo1RIagob5D6kMIAvu7DQC5VTh3
(NOTE: This is an external link and Option3 donot support).
- Download docube-spark-client.jar
- Download and unzip docube-models
- Update location of docube-spark-client.jar in /docube-models/build.sbt
- Duplicate SampleProgram, rename and update code
- Run sbt clean package
- Run sbt assembly