(This happened a lot when namenode was extremely slow due to some other reasons.)
% hadoop dfs -lsr /
> Could not get listing for /aaa/bbb/randomfile
It's probably because file was deleted between items = fs.listStatus( and ls(items[i]
I think lsr should ignore this case and continue.