From ecf6851a97c01976f49ca04be797b113cddc684a Mon Sep 17 00:00:00 2001 From: yangjie01 Date: Thu, 30 Jan 2025 09:07:41 -0800 Subject: [PATCH] [SPARK-51041][BUILD] Add `hive-llap-client` and `hive-llap-common` as test dependency of `hive-thriftserver` ### What changes were proposed in this pull request? This pr aims to add `hive-llap-client` and `hive-llap-common` as test dependency of `hive-thriftserver` ### Why are the changes needed? Fix maven test of `hive-thriftserver`. Due to the lack of these test dependencies, testing `hive-thriftserver` using Maven will hang. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Pass GitHub Actions - Manually check: After adding the test dependencies, when testing the `hive-thriftserver` module using Maven, `HiveThriftBinaryServerSuite` will no longer hang. ``` build/mvn -Pyarn -Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Phadoop-cloud -Pjvm-profiler -Pspark-ganglia-lgpl -Pkinesis-asl clean install build/mvn -pl sql/hive-thriftserver -Pyarn -Pkubernetes -Pvolcano -Phive -Phive-thriftserver -Phadoop-cloud -Pjvm-profiler -Pspark-ganglia-lgpl -Pkinesis-asl clean install -fae ``` ### Was this patch authored or co-authored using generative AI tooling? No Closes #49736 from LuciferYang/SPARK-51041. Authored-by: yangjie01 Signed-off-by: Dongjoon Hyun --- sql/hive-thriftserver/pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sql/hive-thriftserver/pom.xml b/sql/hive-thriftserver/pom.xml index 135b84cd01f85..e57fa5a235420 100644 --- a/sql/hive-thriftserver/pom.xml +++ b/sql/hive-thriftserver/pom.xml @@ -148,6 +148,16 @@ byte-buddy-agent test + + ${hive.group} + hive-llap-common + ${hive.llap.scope} + + + ${hive.group} + hive-llap-client + ${hive.llap.scope} + net.sf.jpam jpam