apache / apache/arrow-java

[Java] Provide guidance in documentation for using Arrow in an uberjar setting

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

描述

Currently, ArrowBuf class directly access the package-private fields of AbstractByteBuf class which makes shading Apache Arrow problematic. If we relocate io.netty namespace excluding io.netty.buffer.ArrowBuf, it would throw out IllegalAccessException.

**Reporter**: [Jingyuan Wang](https://issues.apache.org/jira/browse/ARROW-799) / @alphalfalfa
#### Related issues:
- [[Java] Make Arrow library more shade-friendly](https://github.com/apache/arrow/issues/16325) (relates to)

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

贡献指南

打开贡献指南

调研方向

从 issue 中链接的迁移文档开始,检查其中描述的 ArrowBuf 和 AbstractByteBuf shading 交互。记录如何在 uberjar 中使用 Arrow,包括 io.netty 的 relocation 约束和 IllegalAccessException 场景;当用户能够清楚了解 workaround 时,即视为完成。

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

评估

技术栈
java
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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