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

xrdcp corrupts last file from zip #936

Closed
rodwalker opened this issue Mar 18, 2019 · 3 comments
Closed

xrdcp corrupts last file from zip #936

rodwalker opened this issue Mar 18, 2019 · 3 comments

Comments

@rodwalker
Copy link

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.

@simonmichal
Copy link
Contributor

Hi Rod,

Thanks for reporting this problem. lxplus would work for me!

Cheers,
Michal

@rodwalker
Copy link
Author

Hi,
Please check you can read
lxplus096:/tmp/walkerr/HITS.17117996._000001.zip.1

Cheers,
Rod.

@simonmichal
Copy link
Contributor

Hi Rod,

Thanks for the file! I'll have time to look into the problem only later this week (the fix will probably included only in 4.9.2 or 4.10.0).

Cheers,
Michal

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