I have created a directory in hadoop that is having "," in its name like "SampleDir, Name". But, when I am trying to delete this Directory by using rmr hadoop shell command as following
hadoop dfs -rmr hdfs://host:port/User/SampleDir, Name
I'm getting the following error
rmr: cannot remove hdfs://host:port/User/SampleDir: No such file or directory. rmr: cannot remove Name: No such file or directory.
But I didn't face any issues while deleting other directories from the same location, using the same command i.e.
hadoop dfs -rmr hdfs://host:port/dir_path
Can anyone tell me the way how to delete such kind of directories?
Thanks in advance!