This post is more than 5 years old
1 Rookie
•
16 Posts
0
2281
February 26th, 2015 12:00
Isilon hdfs - trash cleanup
We understand that trash clean up does not happen in Isilon hdfs as in traditional hadoop.
Instead of writing hdfs dfs -rm commands...
would it be ok to remove directoy from ISILON filesystem using normal rm command
is4-1$ ls -ltra /ifs/is4/HDFS/elz_uat/user/pcenteru/.Trash/Current/hive/gphd
total 57
drwxrwx--- 3 pcenteru hadoop 22 Feb 10 06:19 ..
drwxrwx--- 3 pcenteru hadoop 27 Feb 10 06:19 .
drwx------ 13 pcenteru hadoop 1039 Feb 11 11:40 warehouse
Files under warehouse directory.
Is it a good to practice to run
rm /ifs/is4/HDFS/elz_uat/user/pcenteru/.Trash/Current/hive/gphd/warehouse/*.*
as root.
Please advice.
Thanks
Ashok
0 events found
No Events found!


russ_stevenson_
25 Posts
0
February 26th, 2015 12:00
Yes, this is one advantage of multi protocol file access to the Isilon HDFS root, you can use native data management commands. Everything Big Data at EMC
Mount an NFS export to your Isilon from one of you client nodes and you can manage data natively without needing to use hdfs commands. As long as the permissions allow this, clearly on the cluster directly root can do what it needs to do.
Also great for loading data directly to you HDFS root.
russ