Getting the filesize in spark
<p>I want to get the size of a file in Spark without pouring it into an RDD. How Can I do that? I don't  want to pour it into a RDD since it can cause an overload to my application and my files are large.</p>