apache / apache/arrow-java

[Release] arrow-java-root-18.3.0-source-release.zip includes JNI binaries

Open
#743 3 comments 1 reaction 0 assignees View on GitHub
Type: bug
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

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

This is not a release blocker.

https://github.com/apache/arrow-java/releases/download/v18.3.0-rc2/arrow-java-root-18.3.0-source-release.zip

JNI binaries are large. Can we remove them from `source-release.zip`?

```console
$ LANG=C du -hsc arrow-java-root-18.3.0/jni/*
236K arrow-java-root-18.3.0/jni/arrow_cdata_jni/
272M arrow-java-root-18.3.0/jni/arrow_dataset_jni/
156M arrow-java-root-18.3.0/jni/arrow_orc_jni/
444M arrow-java-root-18.3.0/jni/gandiva_jni/
871M total
```

`source-release.zip` also has `testing/`. It's not so large but should we remove it? Or should we keep it?

```console
$ LANG=C du -hsc arrow-java-root-18.3.0/testing
8.8M arrow-java-root-18.3.0/testing
8.8M total
```

Contributor guide

Open the contributing guide

Research direction

Start with the v18.3.0-rc2 source-release.zip and inspect how its jni/ and testing/ directories are assembled. Determine whether JNI binaries and testing/ belong in the source archive, then verify the resulting archive no longer includes the unwanted binaries and remains a valid source release.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.