Open bitsondatadev opened 3 months ago
The only recent thing I remember we added quickly to this was the ability to run on an M1 processor, but I'm hopeful this is resolved in the latest.
Hi @bitsondatadev - this works for me in the trino-b2
tutorial:
hive-metastore:
image: 'apache/hive:4.0.0'
hostname: hive-metastore
ports:
- '9083:9083' # Metastore Thrift
volumes:
- ./conf/core-site.xml:/opt/hadoop/etc/hadoop/core-site.xml:ro
- ./conf/metastore-site.xml:/opt/apache-hive-metastore-4.0.0-bin/conf/metastore-site.xml:ro
environment:
SERVICE_NAME: metastore
METASTORE_DB_HOSTNAME: mariadb
HIVE_AUX_JARS_PATH: /opt/hadoop/share/hadoop/tools/lib/hadoop-aws-3.3.6.jar:/opt/hadoop/share/hadoop/tools/lib/aws-java-sdk-bundle-1.12.367.jar
depends_on:
- mariadb
networks:
- trino-network
There may be more optimal ways to do this, but a few hours of trial and error led me here.
https://github.com/bitsondatadev/trino-getting-started/issues/38#issuecomment-1925347891
There were some oddities about earlier HMS images in 3.x. If the latest 4.x metastore has those worked out then I would love to get rid of my HMS Docker image.
I'll open a new Issue to remind myself to look at that later.
Originally posted by @bitsondatadev in https://github.com/bitsondatadev/trino-getting-started/issues/38#issuecomment-2025768063