title: Reading files from Apache Spark textFileStream
body: <p>I'm trying to read/monitor txt files from a Hadoop file system directory. But I've noticed all txt files inside this directory are directories themselves as showed in this example bellow:</p>
  
  <pre><code>/crawlerOutput/b6b95b75148cdac44cd55d93fe2bbaa76aa5cccecf3d723c5e47d361b28663be-1427922269.txt/_SUCCESS   
  /crawlerOutput/b6b95b75148cdac44cd55d93fe2bbaa76aa5cccecf3d723c5e47d361b28663be-1427922269.txt/part-00000
  /crawlerOutput/b6b95b75148cdac44cd55d93fe2bbaa76aa5cccecf3d723c5e47d361b28663be-1427922269.txt/part-00001
  </code></pre>
  
  <p>I'd want read all the data inside the part's files. I'm trying to use the following code as showed in this snippet:</p>
  
  <pre><code>val testData = ssc.textFileStream("/crawlerOutput/*/*")
  </code></pre>
  
  <p>But, unfortunately it said it doesn't exist <code>/crawlerOutput/*/*</code>. Doesn't <code>textFileStream</code> accept wildcards? What should I do to solve this problem?</p>