What steps will reproduce the problem?
1. hadoop fs -mkdir /empty
2. print pyhdfs.listdir(fs, '/empty')
What is the expected output? What do you see instead?
Expected [], got None.
This would let me differentiate between errors and empty directories.
Attached patch to fix this.
Original issue reported on code.google.com by tommi.vi...@gmail.com on 4 Nov 2009 at 8:28
Original issue reported on code.google.com by
tommi.vi...@gmail.com
on 4 Nov 2009 at 8:28Attachments: