Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-alpha1
-
None
-
None
-
Incompatible change
Description
hadoop fs -du -h prints sizes with a space between the number and the unit:
$ hadoop fs -du -h ..... 91.7 G .... 583.1 M .... 97.6 K .....
The standard unix du -h does not:
$ du -h 400K ... 404K .... 480K .....
the result is that the output of du -h is properly sorted by sort -h while the output of hadoop fs -du -h is not properly sorted by it.
Please see