Hi,
Extracting the last file from some zip files is corrupting with xrdcp. I can download the zip and extract by hand, e.g.
$ unzip HITS.17117996._000001.zip.1 HITS.14859379._008207.pool.root.1
$ adler32 HITS.14859379._008207.pool.root.1
c14ce6a8

But using xrdcp to several storages corrupts the file to adler32 771c5546. Even don locally
$ xrdcp -z HITS.14859379._008207.pool.root.1 file:///tmp/walkerr/HITS.17117996._000001.zip.1 HITS.14859379._008207.pool.root.1.xroot
[70.35MB/70.35MB][100%][==================================================][70.35MB/s]
$ adler32 HITS.14859379._008207.pool.root.1.xroot
771c5546

$ cmp HITS.17117996._000001.zip.1 HITS.14859379._008207.pool.root.1.xroot
HITS.17117996._000001.zip.1 HITS.14859379._008207.pool.root.1.xroot differ: byte 1, line 1

I found 2 examples, bit corrupting the last file added to the zip. The zip files are 12GB, which might play a role. Not sure how I can share one - lxplus?

Cheers,
Rod.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"xrdcp corrupts last file from zip (#936)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/936"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/936", "url": "https://github.com/xrootd/xrootd/issues/936", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1