How to do parsing log files on spark in yarn cluster?

so, please guide us…

Please go thru this: https://cloudxlab.com/assessment/playlist-intro/58/spark-project-log-parsing