hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Mundlapudi <bharathw...@yahoo.com>
Subject Re: How to see block information on NameNode ?
Date Sat, 21 May 2011 21:08:54 GMT
Another way is executing this cmd:
hadoop fsck <file path> -files -blocks -locations

-Bharath


________________________________
From: Harsh J <harsh@cloudera.com>
To: common-user@hadoop.apache.org
Sent: Saturday, May 21, 2011 6:45 AM
Subject: Re: How to see block information on NameNode ?

One way: Opening the file in the web UI and looking at the bottom of
the page will show you all block locations split by split.

On Sat, May 21, 2011 at 11:46 AM, praveenesh kumar <praveenesh@gmail.com> wrote:
> hey..!!
>
> I have a question.
> If I copy some file on HDFS file system, it will get split into blocks and
> Namenode will keep all these meta info with it.
> How can I see that info.
> I copied 5 GB file on NameNode, but I see that file only on the NameNode..
> It doesnot get split into blocks..??
> How can I see whether my file is getting split into blocks and which data
> node is keeping which block ??
>
> Thanks,
> Praveenesh
>



-- 
Harsh J
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message