This is an automated email from the ASF dual-hosted git repository.
yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 08b1fb55d738 [SPARK-49077][SQL][TESTS] Remove `bouncycastle-related`
test dependencies from `hive-thriftserver` module
08b1fb55d738 is described below
commit 08b1fb55d738dde5a69aa94aab946d15bc2568af
Author: yangjie01 <[email protected]>
AuthorDate: Thu Aug 1 23:34:17 2024 +0800
[SPARK-49077][SQL][TESTS] Remove `bouncycastle-related` test dependencies
from `hive-thriftserver` module
### What changes were proposed in this pull request?
After SPARK-49066 merged, other than `OrcEncryptionSuite`, the test cases
for writing Orc data no longer require the use of `FakeKeyProvider`. As a
result, `hive-thriftserver` no longer needs these test dependencies.
### Why are the changes needed?
Clean up the test dependencies that are no longer needed by
`hive-thriftserver`.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Manual Test with this pr.
```
build/mvn -Phive -Phive-thriftserver clean install -DskipTests
build/mvn -Phive -Phive-thriftserver clean install -Dtest=none
-DwildcardSuites=org.apache.spark.sql.hive.thriftserver.ThriftServerQueryTestSuite
-pl sql/hive-thriftserver
```
```
Run completed in 5 minutes, 14 seconds.
Total number of tests run: 243
Suites: completed 2, aborted 0
Tests: succeeded 243, failed 0, canceled 0, ignored 20, pending 0
All tests passed.
```
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #47563 from LuciferYang/SPARK-49077.
Authored-by: yangjie01 <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
---
sql/hive-thriftserver/pom.xml | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/sql/hive-thriftserver/pom.xml b/sql/hive-thriftserver/pom.xml
index d50c78bd1f9b..6a352f8a530d 100644
--- a/sql/hive-thriftserver/pom.xml
+++ b/sql/hive-thriftserver/pom.xml
@@ -156,16 +156,6 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk18on</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk18on</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]