Skip to content

Commit

Permalink
update trino and hive images for local dev (#4717)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Apr 23, 2024
1 parent 75e9cfb commit cd2db57
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
connector.name=hive
hive.allow-drop-table=true
hive.allow-rename-table=true
hive.allow-add-column=true
hive.allow-drop-column=true
hive.allow-rename-column=true
hive.storage-format=Parquet
hive.compression-codec=SNAPPY
hive.hdfs.authentication.type=NONE
Expand All @@ -20,5 +15,3 @@ hive.s3.aws-secret-key=${ENV:AWS_SECRET_ACCESS_KEY}
hive.s3.endpoint=${ENV:S3_ENDPOINT}
hive.s3.ssl.enabled=false
hive.s3.path-style-access=true

parquet.optimized-reader.enabled=false
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-server
-XX:+UseContainerSupport
-XX:+UseG1GC
-XX:+UseGCOverheadLimit
-XX:InitialRAMPercentage=50.0
-XX:MaxRAMPercentage=75.0
-XX:+ExplicitGCInvokesConcurrent
Expand All @@ -17,4 +16,10 @@
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=10000
-Dcom.sun.management.jmxremote.rmi.port=10000
-Dfile.encoding=UTF-8
-Djava.rmi.server.hostname=127.0.0.1
# Reduce starvation of threads by GClocker, recommend to set about the number of cpu cores (JDK-8192647)
-XX:+UnlockDiagnosticVMOptions
-XX:GCLockerRetryAllocationCount=8
# Allow loading dynamic agent used by JOL
-XX:+EnableDynamicAgentLoading
File renamed without changes.
4 changes: 2 additions & 2 deletions docker-compose.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3'

services:
hive-metastore:
image: quay.io/mskarbek/ubi-hive:3.1.2-metastore-008
image: quay.io/mskarbek/ubi-hive:3.1.3-metastore-024

trino:
image: quay.io/mskarbek/ubi-trino:411-001
image: quay.io/mskarbek/ubi-trino:443-002
16 changes: 8 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ services:
hive-metastore:
container_name: hive-metastore
image: quay.io/cloudservices/ubi-hive:3.1.2-metastore-008
image: quay.io/cloudservices/ubi-hive:3.1.3-metastore-024
ports:
- 9083:8000
environment:
Expand All @@ -637,7 +637,7 @@ services:

trino:
container_name: trino
image: quay.io/cloudservices/ubi-trino:411-002
image: quay.io/cloudservices/ubi-trino:443-002
user: root
ports:
- 8080:8080
Expand All @@ -656,12 +656,12 @@ services:
- DATABASE_USER=${DATABASE_USER-postgres}
- DATABASE_PASSWORD=${DATABASE_PASSWORD-postgres}
volumes:
- ./deploy/trino/etc/config.properties:/etc/trino/config.properties
- ./deploy/trino/etc/jvm.config:/etc/trino/jvm.config
- ./deploy/trino/etc/log.properties:/etc/trino/log.properties
- ./deploy/trino/etc/catalog/hive.properties:/etc/trino/catalog/hive.properties
- ./deploy/trino/etc/catalog/postgres.properties:/etc/trino/catalog/postgres.properties
- ./deploy/hadoop/hadoop-config/core-site.xml:/etc/trino/hadoop-config/core-site.xml
- ./dev/containers/trino/etc/config.properties:/etc/trino/config.properties
- ./dev/containers/trino/etc/jvm.config:/etc/trino/jvm.config
- ./dev/containers/trino/etc/log.properties:/etc/trino/log.properties
- ./dev/containers/trino/etc/catalog/hive.properties:/etc/trino/catalog/hive.properties
- ./dev/containers/trino/etc/catalog/postgres.properties:/etc/trino/catalog/postgres.properties
- ./dev/containers/trino/etc/hadoop-config/core-site.xml:/etc/trino/hadoop-config/core-site.xml
- ./.trino/trino/trino-data:/data/trino/data
- ./.trino/trino/trino-logs:/data/trino/logs
links:
Expand Down

0 comments on commit cd2db57

Please sign in to comment.