Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

"hadoop fs -du" command giving incorrect value

avatar
Expert Contributor

Hello team.

Current lecture directly to the involved directory is giving us:

hadoop fs -du -h -s </path/dir>

t 1.4 T </path/dir>

of information but this is not accurate because when getting each and one size from the files and directories within above directory, performing a simple addition operation from excel we are getting 386574657917

which translated in GB is

360GB

which is the expected size within this directory. Has someone face this before?

Regards!

1 ACCEPTED SOLUTION

avatar
Expert Contributor

This is a known behavior from Hortonworks, check the discussion

https://issues.apache.org/jira/browse/HDFS-8986

Regards!

View solution in original post

1 REPLY 1

avatar
Expert Contributor

This is a known behavior from Hortonworks, check the discussion

https://issues.apache.org/jira/browse/HDFS-8986

Regards!