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

Hadoop Downloader Range not correct #20110

Closed
damccorm opened this issue Jun 4, 2022 · 3 comments · Fixed by #21778
Closed

Hadoop Downloader Range not correct #20110

damccorm opened this issue Jun 4, 2022 · 3 comments · Fixed by #21778
Assignees
Labels

Comments

@damccorm
Copy link
Contributor

damccorm commented Jun 4, 2022

I found that the `HdfsDownloader.get_range(self, start, end)' get range {color:#ff0000}[start, end]{color} rather than {color:#ff0000}[start, end){color}. This will cause an error while reading hdfs file.

 

File "/data/anaconda3/envs/tfdv1.15/lib/python3.7/site-packages/apache_beam/io/tfrecordio.py", line 127, in read_record
buf = file_handle.read(buf_length_expected)
File "/data/anaconda3/envs/tfdv1.15/lib/python3.7/site-packages/apache_beam/io/filesystemio.py", line 123, in readinto
b[:len(data)] = data
ValueError: memoryview assignment: lvalue and rvalue have different structures

Imported from Jira BEAM-9152. Original Jira may contain additional context.
Reported by: Benjzhou.

@kennknowles
Copy link
Member

@chamikaramj @udim this is a reopened recently, despite the Jira having a very early number. Seems like P1 is right if people are having data problems? Not a release blocker if it has been broken forever I guess?

@chamikaramj
Copy link
Contributor

@Abacn will you be able to look into this ?

@Abacn
Copy link
Contributor

Abacn commented Jun 9, 2022

.take-issue

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

Successfully merging a pull request may close this issue.

4 participants