apache / apache/arrow-java

[Java] Unable to read S3 files using Arrow Dataset

未关闭
#219 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: usage
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

### Describe the usage question you have. Please include as many useful details as possible.

Even though all aws credentials are set, getting below error while trying to read s3 files using Arrow Dataset Java API.
Please guide which are AWS properties needs to be set to work correctly.

```text
java.lang.RuntimeException: When resolving region for bucket : AWS Error NETWORK_CONNECTION during HeadBucket operation: Encountered network error when sending http request
at org.apache.arrow.dataset.file.JniWrapper.makeFileSystemDatasetFactory(Native Method)
at org.apache.arrow.dataset.file.FileSystemDatasetFactory.createNative(FileSystemDatasetFactory.java:35)
at org.apache.arrow.dataset.file.FileSystemDatasetFactory.(FileSystemDatasetFactory.java:31)
at com.arrow.dataset.ParquetFileToArrowReader.readS3Parquet(ParquetFileToArrowReader.java:114)
at com.arrow.dataset.ParquetFileToArrowReader.main(ParquetFileToArrowReader.java:36)
```

### Component(s)

Java

贡献指南

打开贡献指南

调研方向

先从 ParquetFileToArrowReader.java 中的 S3 数据集构建以及 FileSystemDatasetFactory stack frames 入手,然后检查 Java API 如何解析 bucket region 并报告 AWS 网络错误。使用报告中的凭据重现该故障,并确定所需的配置;当 S3 文件可以在不出现 NETWORK_CONNECTION 错误的情况下读取时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, java
领域
cloud, data
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。