Skip to content

Commit 23f4736

Browse files
committed
use thrift for hms
1 parent d22d0e4 commit 23f4736

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dev/provision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"hive",
5151
**{
5252
"type": "hive",
53-
"uri": "http://hive:9083",
53+
"uri": "thrift://hive:9083",
5454
"s3.endpoint": "http://minio:9000",
5555
"s3.access-key-id": "admin",
5656
"s3.secret-access-key": "password",

dev/spark-defaults.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spark.sql.catalog.rest.warehouse s3://warehouse/rest/
2424
spark.sql.catalog.rest.s3.endpoint http://minio:9000
2525
spark.sql.catalog.hive org.apache.iceberg.spark.SparkCatalog
2626
spark.sql.catalog.hive.type hive
27-
spark.sql.catalog.hive.uri http://hive:9083
27+
spark.sql.catalog.hive.uri thrift://hive:9083
2828
spark.sql.catalog.hive.io-impl org.apache.iceberg.aws.s3.S3FileIO
2929
spark.sql.catalog.hive.warehouse s3://warehouse/hive/
3030
spark.sql.catalog.hive.s3.endpoint http://minio:9000

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,7 @@ def session_catalog_hive() -> Catalog:
25172517
"local",
25182518
**{
25192519
"type": "hive",
2520-
"uri": "http://localhost:9083",
2520+
"uri": "thrift://localhost:9083",
25212521
"s3.endpoint": "http://localhost:9000",
25222522
"s3.access-key-id": "admin",
25232523
"s3.secret-access-key": "password",

tests/integration/test_catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def hive_catalog() -> Generator[Catalog, None, None]:
7979
test_catalog = HiveCatalog(
8080
"test_hive_catalog",
8181
**{
82-
"uri": "http://localhost:9083",
82+
"uri": "thrift://localhost:9083",
8383
"s3.endpoint": "http://localhost:9000",
8484
"s3.access-key-id": "admin",
8585
"s3.secret-access-key": "password",

0 commit comments

Comments
 (0)