An article from jgp:

UDF stands for User Defined Functions. With those, you can easily extend Apache Spark with your own routines and business logic. Let’s see how we can build them and deploy […]

Read the whole article on Jean Georges Perrin’s blog: Managing Java UDF with Apache Spark. Enjoy!