Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Rename folder on HDFS | Disappear
Labels:
- Labels:
-
HDFS
Rising Star
Created 11-20-2016 11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Contributor
Created 11-21-2016 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
1 REPLY 1
Contributor
Created 11-21-2016 07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
