apache / apache/arrow-java

[Java][FlightRPC] TestBasicOperation.getStreamLargeBatch is flaky on Windows CI

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

描述

```

java.lang.IllegalStateException:
Memory was leaked by query. Memory leaked: (134217728)
Allocator(ROOT) 0/134217728/270532608/9223372036854775807 (res/actual/peak/limit)

at org.apache.arrow.memory.BaseAllocator.close(BaseAllocator.java:437)
at org.apache.arrow.memory.RootAllocator.close(RootAllocator.java:29)
at org.apache.arrow.flight.TestBasicOperation$Producer.close(TestBasicOperation.java:514)
at org.apache.arrow.flight.TestBasicOperation.test(TestBasicOperation.java:333)
at org.apache.arrow.flight.TestBasicOperation.test(TestBasicOperation.java:312)
at org.apache.arrow.flight.TestBasicOperation.getStreamLargeBatch(TestBasicOperation.java:270)
```

**Reporter**: [David Li](https://issues.apache.org/jira/browse/ARROW-18034) / @lidavidm
#### Related issues:
- [[Java] Enable allocator logging in CI](https://github.com/apache/arrow/issues/33238) (is related to)

**Note**: *This issue was originally created as [ARROW-18034](https://issues.apache.org/jira/browse/ARROW-18034). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

从 TestBasicOperation.java 中的 getStreamLargeBatch 以及第 270-333 行附近的测试重载开始,然后检查第 514 行附近的 Producer.close 和 stack trace 报告的 allocator 泄漏。在 Windows CI 上复现该测试;完成标准是 getStreamLargeBatch 不再 flaky,并且 allocator 关闭时不报告内存泄漏。

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

评估

技术栈
java
领域
ci-cd, testing-qa
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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