The concept of working directory is only useful for processes, and HDFS does not have executables. I guess what you're looking for is absolute vs relative paths (so that you can do something like hdfs cat foo instead of hdfs cat /user/me/foo). HDFS does have this to a limited extent - if your path is not absolute, it is relative from your home directory (or root if there is no home directory for your user).
Thanks, Hariharan On Fri, May 26, 2017 at 3:44 PM, Sidharth Kumar <[email protected] > wrote: > Hi, > > Can you kindly explain me why hdfs doesnt have current directory concept. > Why Hadoop is not implement to use pwd? Why command like cd and PWD cannot > be implemented in hdfs? > > Regards > Sidharth > Mob: +91 8197555599 > LinkedIn: www.linkedin.com/in/sidharthkumar2792 >
