How does spark sc.textfile work in detail?
<p>I want to find how <code>sc.textfile</code> works in detail.<br>
I have found the textfile source code in <strong>SparkContext.scala</strong> but they contain so much infomation about scheduler, stage and task submitted. What I want is how sc.textfile reads files from hdfs and how <strong>sc.textfile</strong> uses wildcard to match multiple files.<br>
Where can I find the source code?</p>