https://blog.cloudera.com/blog/2014/05/apache-spark-resource-management-and-yarn-app-models/
https://www.quora.com/What-are-spark-deployment-modes-cluster-or-client