educative.io

Apache spark custom spark shell

Hi, If I want to setup a custom spark shell by using a shell script that contains spark-submit and a scala script that instantiates a SparkContext, how would I enable UDFs to be copied to executors? (as this is not working for me currently)