Reply
Contributor
Posts: 56
Registered: ‎02-12-2015
Accepted Solution

Rename folder on HDFS | Disappear

Dear Experts,

 

Recently faced an issues when I rename a 'backup' directory to 'backup_old' which is presented on hdfs.

 

I used the command "$ hdfs dfs -mv /backup  backup_old"  and I found 'backup_old' is not created on hdfs it suddenly disappear from hdfs. 

 

Could anyone tell me why I can not see the folder and where I can find it or I lost it.

Highlighted
Cloudera Employee
Posts: 18
Registered: ‎12-11-2015

Re: Rename folder on HDFS | Disappear

Hi Neelesh,

It seems you missed the leading "/" from the destination path, so it should be in your home directory. Can you please run "hdfs dfs -ls" as the same user? It should be there.
Announcements