Hadoop and Local directory issue



Just wanted to know local directory is not mapped to hdfs?
There are some directories missing in hdfs.
Basically i am trying to read a file but scala is not able to find the file because its not on HDFS.
Below are the images which will show differences between local and HDFS dirs.

Please let me know , what should i do read files.


Likewise i have created a file in HDFS via Scala program, but not able to see those files by linux file browsing commands nor by WINSCP.
below is the file details created by Scala program

Please let me know how to browse the same


That’s right the HDFS (hadoop fs -ls) and Linux File System (ls -l) are entirely different file system.