Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Consulting the HDFS cluster storage of a file

SOLVED Go to solution
Highlighted

Consulting the HDFS cluster storage of a file

New Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Consulting the HDFS cluster storage of a file

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

Re: Consulting the HDFS cluster storage of a file

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