Skip to content
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

python bindings :: checksum is not written on the server #956

Closed
adriansev opened this issue Apr 2, 2019 · 3 comments
Closed

python bindings :: checksum is not written on the server #956

adriansev opened this issue Apr 2, 2019 · 3 comments

Comments

@adriansev
Copy link
Contributor

HI! While using .addJob(..., checksumtype = 'md5') after a successful message of file uploading i get none when doing xrdfs query checksum and if i use -C md5 i get Run: [ERROR] CheckSum error. Any idea what can be the problem?
Thank you

@simonmichal
Copy link
Contributor

@adriansev : the checksumtype option is used when verifying if the data were not corrupted during transfer. Basically, you need to set

  • checksumtype : the type of the checksum, e.g. md5 (server needs to be configured to support it)
  • checksummode : end2end if you want the client to verify if the data were not corrupted during transfer
  • checksumpreset : pre-computed checksum to be used as source checksum (it's optional)

Those options are not used to store a file checksum on the server.
For the xrdfs query checksum to work checksuming has to be enabled on the server side.

I hope this answer your question.

@adriansev
Copy link
Contributor Author

Thank you, this answers my questions! (it would be great if these explanations make it to xrootd binding doc).

@simonmichal
Copy link
Contributor

Absolutely, we will updates our documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants