Unsolved

This post is more than 5 years old

2586

November 24th, 2010 09:00

File corruption check in Atmos Java API

Hi,

Is there a way to get a handle on a file on Atmos throughthe Atmos Java Binding API. I can then use this handle to calculate content hashes for before and after the transfer to make sure that the file was not corrupted during transmission.

Thanks,

Meghana.

222 Posts

November 24th, 2010 10:00

Meghana,

We don't have file handles per se, but we use unique objectIDs that reference objects stored in Atmos. 

Have you seen the checksum support for erasure coded replicas that's now available in 1.4?

Atmos currently supports using SHA0 to create a hash of the content.  This can be passed in to the create or update object requests and it can be retrieved for a given object as well.


Raj

November 25th, 2010 01:00

Thanks Raj. That was helpful. I was aware of the Checksum functionality, but was unsure of how to go about using it. Your advice pointed me in the right direction.

Thanks again,

Meghana.

0 events found

No Events found!

Top