in reply to Re: list HDFS with Perl
in thread list HDFS with Perl

does not actually provide an interface like 'ls -la' or any ability to traverse the whole directory to any given depth with all leaves.
in a nutshell you have to deal with lots of redundant information which can be memory expensive if you have tens of millions of files in millions of arbitrarily nested directories.
Sapienti sat.