title: What does container/resource allocation mean in Hadoop and in Spark when running on Yarn?
body: <p>As spark runs in-memory what does resource allocation mean in Spark when running on yarn and how does it contrast with hadoop's container allocation?
  Just curious to know as hadoop's data and computations are on the disk where as Spark is in-memory.</p>