Recently it was an intolerable pain for me to build a so-called fat jar‘s for my Spark jobs in Scala using sbt. Well, what’s was happening there? (NOTE: if you’re don’t use fat jars to submit Spark jobs and —this is a better way to deal with Spark though– then...
Continue reading...sbt
Using ‘resourceGenerators’ in sbt
My current project deploys in OpenShift as a fat-jar (it means a runnable jar file packed together with all its classpath dependencies) . It also uses sbt (Scala Build Tool). There was a need to add a special file in the resulted fat-jar which had to be generated at the...
Continue reading...