-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on file upload, checksum is not stored in iCAT #182
Comments
Hi Jon, that setting is used and put/get transfers, and uploads use the |
Hi Mike, sorry I don't really understand this... is this setting just applicable in certain situations? Thanks! |
Yes, it was applicable to the put/get transfers (analogous to iput and However, I can observe the setting by wrapping a streaming i/o operation |
Thanks, now I get it. The cloud browser uses streaming API because it already has a stream, from the web upload. Of course it would be nice to improve this for the cloud browser as you suggest - but isn't it possible to checksum a stream just as well directly in the Jargon API? And the iRODS server feature that receives a stream could checksum what it received as well. I don't know if it does though. So if its possible, it would be great to have this directly in Jargon. If not, please add a small "best practice" documentation snippet about the wrapping approach for cloud browser, so that other developers can use it as well. |
Yes, checksumming of a stream as it 'passes' is in Java already, so we MC |
Sounds great! Can we move the issue into the Jargon project then? |
yes I will do that this morning |
created issue: DICE-UNC/jargon#194 |
I'm using cloud browser 1.0.1 to upload to iRODS 4.1.8. The core.re rules, e.g. acPostProcForPut, were not modified (i.e. they do not include a call to msiSysChksumDataObj).
I thought with a default jargon.properties being present in the iRODS cloud browser class path (from WEB-INF/lib/jargon-core-4.0.3.1-SNAPSHOT.jar), the existing setting
transfer.computeandvalidate.checksum=true
would cause a client (=Jargon) checksum to be transferred to the iRODS server during upload. I also assume that iRODS will put it in the catalog then, visible withils -L
. But I don't see a checksum for files uploaded with iRODS cloud browser. I was expecting a behavior similar toiput -K
, which does the end-to-end check and also stores the checksum in iCAT.Is this an issue in iRODS cloud browser, Jargon, or in my understanding? 😃
The text was updated successfully, but these errors were encountered: