-Hadoop fs -ls behaviour compared to native ls
Hemanth Yamijala 2012-09-11, 11:28
hadoop fs -ls dirname
lists entries like
i.e. dirname is repeated. And it takes a small second to realize that
there's actually no directory called dirname under dirname.
Native ls doesn't repeat dirname when listing the output.
I suppose the current behaviour is to handle globbing. So,
hadoop fs -ls dirname*
which makes a little more sense. In contrast, native ls will list the same as
Is there a rationale to keep this as the listing behaviour in Hadoop ?