hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Singaraju <gautam.singar...@gmail.com>
Subject Re: Checksum of blocks
Date Tue, 03 Aug 2010 15:59:03 GMT
I had phrased my question incorrectly. I am look to get a list of all
blocks (not files) on HDFS and their checksum. Is there a way?
---
Gautam



On Sun, Aug 1, 2010 at 8:18 PM, cvkkumar <cvkkumar@me.com> wrote:
> Hi,
>
> There is a method getChecksumFile(Path file)  that gives this info.
> You could refer the javadoc here:
> http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/fs/ChecksumFileSystem.html
>
> Hope this helped.
>
> Regards,
> Krishnakumar.
> On Jul 31, 2010, at 10:10 PM, Gautam Singaraju wrote:
>
>> Hello all,
>>
>> From HDFS Architecture page
>> (http://hadoop.apache.org/common/docs/current/hdfs_design.html): "When
>> a client creates an HDFS file, it computes a checksum of each block of
>> the file and stores these checksums in a separate hidden file in the
>> same HDFS namespace."
>>
>> Is there a way to access this data?
>>
>> ---
>> Gautam
>
>

Mime
View raw message