Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎11-13-2018
Accepted Solution

Consulting the HDFS cluster storage of a file

Hi,

 

I am newbie in Hadoop. I want to know how to get information of the storage of a file in HDFS.

I have a master and 10 workers. I am connected to the master, in the master I make a put to HDFS

for a local file. I would like to know if there is any command to know how has been distributed this file in

the different nodes of the cluster

 

Thanks in advance

Master
Posts: 377
Registered: ‎07-01-2015

Re: Consulting the HDFS cluster storage of a file

hdfs fsck will give you answers for your questions, there are multiple command line parameters, you can show the block's location as well.
Announcements