You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by lohit <lo...@yahoo.com> on 2007/09/07 20:12:37 UTC

Differentiate between non existing and empty directory

Hi all,

Is there a way to distinguish between and empty and non-existing directory?
For both cases, we get back the same result.

[lohit@ucdev9 ]$ hdfs -ls valid
Found 0 items
[lohit@ucdev9 ]$ hdfs -ls invalid
Found 0 items
[lohit@ucdev9 ]$

is there a work around for this? I tried -du/-dus ; all of them seem to return same output

thanks,
lohit





       
____________________________________________________________________________________
Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222