[Java] Provide guidance in documentation for using Arrow in an uberjar setting
- 主要语言
- 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