Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jun 18, 2025

What changes were proposed in this pull request?

This PR aims to add Spark Thrift Server example.

Why are the changes needed?

To enrich the use case example.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual tests.

$ kubectl apply -f examples/spark-thrift-server.yaml
sparkapplication.spark.apache.org/spark-thrift-server created

$ kubectl get sparkapp
NAME                  CURRENT STATE    AGE
spark-thrift-server   RunningHealthy   26s

$ kubectl port-forward spark-thrift-server-0-driver 10000:10000
$ bin/beeline -u jdbc:hive2://localhost:10000/
Connecting to jdbc:hive2://localhost:10000/
Connected to: Spark SQL (version 4.0.0)
Driver: Hive JDBC (version 2.3.10)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 2.3.10 by Apache Hive
0: jdbc:hive2://localhost:10000/> show databases;
+------------+
| namespace  |
+------------+
| default    |
+------------+
1 row selected (0.363 seconds)
0: jdbc:hive2://localhost:10000/> show tables;
+------------+------------+--------------+
| namespace  | tableName  | isTemporary  |
+------------+------------+--------------+
+------------+------------+--------------+
No rows selected (0.087 seconds)
0: jdbc:hive2://localhost:10000/> Closing: 0: jdbc:hive2://localhost:10000/

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

No.

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-52526 branch June 18, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants