kyuubi/extensions/spark
Cheng Pan 1f1bc3cb16
[KYUUBI #6999] Keep JNA in authz-shaded with Scala 2.13
### Why are the changes needed?

In Scala [v2.13.16](https://github.com/scala/scala/releases/tag/v2.13.16)

> JNA is no longer a dependency of `scala-compiler.jar`

Since Spark 4.0 upgrades to Scala 2.13.16, JNA deps have gone too.

```
$ spark-3.5.5-bin-hadoop3-scala2.13 cat RELEASE
Spark 3.5.5 (git revision 7c29c664cdc) built for Hadoop 3.3.4
Build flags: -B -Pmesos -Pyarn -Pkubernetes -Psparkr -Pscala-2.13 -Phadoop-3 -Phive -Phive-thriftserver
$ spark-3.5.5-bin-hadoop3-scala2.13 ls jars | grep jna
jna-5.9.0.jar
```

```
$ spark-4.0.0-bin-hadoop3 cat RELEASE
Spark 4.0.0 (git revision ca56e9ce591) built for Hadoop 3.4.1
Build flags: -B -Pyarn -Pkubernetes -Psparkr -Phadoop-3 -Phive -Phive-thriftserver
$ spark-4.0.0-bin-hadoop3 ls jars | grep jna
<no-output>
```

It's rare to use the non-default Scala version with Spark in practice, we shall respect Spark 4 deps for Scala 2.13 cases.

### How was this patch tested?

Review.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #6999 from pan3793/authz-scala213.

Closes #6999

18230a2d7 [Cheng Pan] Keep JNA in authz-shaded with Scala 2.13

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2025-03-25 17:30:24 +08:00
..
kyuubi-extension-spark-3-3 [KYUUBI #6990] Add rebalance before InsertIntoHiveDirCommand and InsertIntoDataSourceDirCommand to align with behaviors of hive 2025-03-25 00:52:55 +08:00
kyuubi-extension-spark-3-4 [KYUUBI #6990] Add rebalance before InsertIntoHiveDirCommand and InsertIntoDataSourceDirCommand to align with behaviors of hive 2025-03-25 00:52:55 +08:00
kyuubi-extension-spark-3-5 [KYUUBI #6990] Add rebalance before InsertIntoHiveDirCommand and InsertIntoDataSourceDirCommand to align with behaviors of hive 2025-03-25 00:52:55 +08:00
kyuubi-extension-spark-jdbc-dialect [KYUUBI #6769] [RELEASE] Bump 1.11.0-SNAPSHOT 2024-10-23 17:10:56 +08:00
kyuubi-spark-authz [KYUUBI #6941] Test Add new Column for paimon 2025-03-17 16:25:26 +08:00
kyuubi-spark-authz-shaded [KYUUBI #6999] Keep JNA in authz-shaded with Scala 2.13 2025-03-25 17:30:24 +08:00
kyuubi-spark-connector-common [KYUUBI #6769] [RELEASE] Bump 1.11.0-SNAPSHOT 2024-10-23 17:10:56 +08:00
kyuubi-spark-connector-hive [KYUUBI #6939] Bump Spark 3.5.5 2025-03-03 13:42:09 +08:00
kyuubi-spark-connector-tpcds [KYUUBI #6769] [RELEASE] Bump 1.11.0-SNAPSHOT 2024-10-23 17:10:56 +08:00
kyuubi-spark-connector-tpch [KYUUBI #6769] [RELEASE] Bump 1.11.0-SNAPSHOT 2024-10-23 17:10:56 +08:00
kyuubi-spark-jvm-quake [KYUUBI #6769] [RELEASE] Bump 1.11.0-SNAPSHOT 2024-10-23 17:10:56 +08:00
kyuubi-spark-lineage [KYUUBI #6912][LINEAGE] Properly handle empty attribute set on mergeRelationColumnLineage 2025-02-14 10:27:51 +08:00