Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Rename folder on HDFS | Disappear

avatar
Rising Star

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.

1 ACCEPTED SOLUTION

avatar
Contributor
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.

View solution in original post

1 REPLY 1

avatar
Contributor
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.