One of the Spark-focused EdX courses[0] has a very good module on Alternating Least Squares, that will help you understand how to build recommender systems in a scalable way with Spark.
[0] https://www.edx.org/course/big-data-analysis-spark-uc-berkel...