spark application example