title: Url for HDFS file system
body: <p>I have some data in HDFS <code>/user/Cloudera/Test/*</code>. I am very well able to see the records by running <code>hdfs -dfs -cat Test/*</code>.</p>
  
  <p>Now the same file, I need it to be read as RDD in scala.
  I have tried the following in scala shell.</p>
  
  <pre><code>val file = sc.textFile("hdfs://quickstart.cloudera:8020/user/Cloudera/Test")
  </code></pre>
  
  <p>Then I have written some filter and for loop to read the words. But when I use the <code>Println</code> at last, it says file not found.</p>
  
  <p>Can anyone please help me know what would be the HDFS url in this case.
  Note: I am using Cloudera CDH5.0 VM</p>