Skip to content

Commit

Permalink
Update hive catalog configuration for development
Browse files Browse the repository at this point in the history
Make it usable out of the box with dockerized hive.
  • Loading branch information
findepi committed Sep 9, 2020
1 parent 8732f67 commit 8046ff5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions presto-server-main/etc/catalog/hive.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
#

connector.name=hive-hadoop2

# Configuration appropriate for Hive as started by product test environment, e.g.
# presto-product-tests-launcher/bin/run-launcher env up --environment singlenode --without-presto
# On Mac, this additionally requires that you add "<your external IP> hadoop-master" to /etc/hosts
hive.metastore.uri=thrift://localhost:9083
hive.hdfs.socks-proxy=localhost:1180

# Fail-fast in development
hive.metastore.thrift.client.max-retry-time=1s

0 comments on commit 8046ff5

Please sign in to comment.