Spark with Java



How can I create Spark program in Java in the lab? How can I see spark clusters and submit spark job in the cluster?
Is there a way to load data into noSQL like Mongo using Spark from webserver logs and do some analysis in this lab?