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

使用alink的com.alibaba.alink.common.io.filesystem.FilePath download方法获取http文件出现IndexOutOfBoundsException #223

Open
feriki opened this issue Nov 9, 2022 · 0 comments

Comments

@feriki
Copy link

feriki commented Nov 9, 2022

使用com.alibaba.alink.common.io.filesystem.FilePath#download获取http文件出现问题:
Caused by: java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:338) ~[?:1.8.0_181]
at sun.net.www.MeteredStream.read(MeteredStream.java:134) ~[?:1.8.0_181]
at java.io.FilterInputStream.read(FilterInputStream.java:133) ~[?:1.8.0_181]
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393) ~[?:1.8.0_181]
at com.alibaba.alink.operator.common.io.reader.HttpFileSplitReader.read(HttpFileSplitReader.java:51) ~[alink_core_flink-1.13_2.11-1.5.8.jar:?]
at com.alibaba.alink.common.io.filesystem.FilePath.download(FilePath.java:132) ~[alink_core_flink-1.13_2.11-1.5.8.jar:?]
排查发现应该是对http文件切片读取时出现了问题。
另:http文件有3500多字节。

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

1 participant