examples of apache spark usage