Pradeep
Pradeep

Reputation: 860

hadoop fs -du gives two data columns

I ran the following command on my test hadoop instance :

hadoop fs -du /test/data/

51179082   153537246   /test/data/9875/2016/02/03
46949272   140847816   /test/data/9875/2016/02/04

I understand du gives the size of files and directories, but for hadoop fs -du it is giving two sizes. Can some one help me understand what are these?

Upvotes: 15

Views: 7732

Answers (1)

Pradeep
Pradeep

Reputation: 860

One column is size of the file and the other column is size of the file after replication.

Upvotes: 35

Related Questions