apache / apache/arrow-java

[CI][Java] *-sources.jar include *.{so,dylib,dll}

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

描述

### Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/ursacomputing/crossbow/releases/tag/nightly-packaging-2024-02-08-0-github-java-jars

For example, `arrow-dataset-16.0.0-SNAPSHOT-sources.jar` includes the following:

```console
$ find arrow-dataset-16.0.0-SNAPSHOT-sources | grep -E '\.(so|dylib|dll)'
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/aarch_64/libarrow_dataset_jni.dylib
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/aarch_64/libarrow_dataset_jni.so
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/libarrow_dataset_jni.dylib
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/arrow_dataset_jni.dll
arrow-dataset-16.0.0-SNAPSHOT-sources/arrow_dataset_jni/x86_64/libarrow_dataset_jni.so
```

Those binaries are too large. So we should avoid this.

### Component(s)

Continuous Integration, Java

贡献指南

打开贡献指南

调研方向

首先检查 issue 中链接的 nightly Java release artifact,并针对其 `*-sources.jar` 的内容复现 `find` 检查。追踪组装这些源代码归档的 CI 或打包步骤;完成的标准是 source jar 不再包含 `.so`、`.dylib` 或 `.dll` 文件。

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

评估

技术栈
java
领域
build-system, ci-cd
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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