Support Questions

Find answers, ask questions, and share your expertise

"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!