Think of it this way:
Hadoop has a special file system called "hdfs" that runs on top of the existing linux file system. There is no concept of the current or current working directory aka pwd
Say we have the following structure in hdfs:
d1/ d2/ f1 d3/ f2 d4/ f3
You can make cd on your Linux file system, moving from one to the other, but do you think directory change in hadoop makes sense? HDFS is like a virtual file system, and you donβt interact directly with hdf except by using the hadoop command or job tracker.
source share