apache / apache/shardingsphere

Support running nativeTest under GraalVM Native Image on Windows 11

Open
#35,052 18 comments 0 reactions 1 assignee Claimed by @linghengqian View on GitHub
in: proxy native status: blocked type: enhancement
Dominant language
Java
Stars
20.8k
Forks
6.9k
Avg merge
11h 35m
Merged PRs (30d)
326

Description

## Feature Request

**For English only**, other languages will not be accepted.

Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will **close it**.

Please answer these questions before submitting your issue. Thanks!

### Is your feature request related to a problem?

- See https://github.com/apache/shardingsphere/issues/33848 .

### Describe the feature you would like.

- Based on earlier investigations at https://issues.apache.org/jira/browse/HIVE-28835 and https://github.com/linghengqian/hive-server2-jdbc-driver/pull/28 , I have confirmed that there is a bug on HiveServer2 JDBC Driver that prevents nativeTest of ShardingSphere from running on Windows 11.
- The goal of the current issue is to completely fix the nativeTest failure on Windows 11 based on LCOW.
- The current issue does not concern the failed nativeTest on Windows Server 2025 based on WCOW. Because we only discuss `Rancher Desktop`, `Podman Desktop`, `Podman CLI`, which are all WSL-specific concepts for windows 11. WCOW involves `Docker CE / Moby`, `Containerd`, `Docker Desktop` or `Mirantis Container Runtime`.
- Overall,
- [x] On Windows 11, support running nativeTest-related unit test suites under HotSpot VM
- [x] On Windows Server 2025, support running nativeTest-related unit test suites under HotSpot VM
- [x] On Windows 11, support running nativeTest-related unit test suites under GraalVM Native Image
- [ ] On Windows Server 2025, support running nativeTest-related unit test suites under GraalVM Native Image
- [x] Add GraalVM Native Image instructions for Windows 11 to the documentation
- [x] Add GraalVM Native Image instructions for Windows Server 2025 to the documentation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.