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 摘要。