As mentioned here: https://hadoop.apache.org/docs/r2.4.1/api/org/apache/hadoop/fs/FileSystem.html
"All user code that may potentially use the Hadoop Distributed File System should be written to use a FileSystem object."
Does it mean: if we used the java.io.File
class then we are not using the HDFS of Hadoop and instead we are using the hosting file system like NTFS on Windows to access the file.
Please Notice: I am not talking about Java concepts or perspective(i.e. difference between File and FileSystem classes) I am talking about the effect of using the java.io.File on HDFS.