Skip to content

Instantly share code, notes, and snippets.

@dgadiraju
Last active January 10, 2019 23:58
Show Gist options
  • Save dgadiraju/df639040f8eaf11f4e89dd9ad5cd6607 to your computer and use it in GitHub Desktop.
Save dgadiraju/df639040f8eaf11f4e89dd9ad5cd6607 to your computer and use it in GitHub Desktop.
# This is the setup for HS2. beeline client connect to load_balancer_host:10001.
# HAProxy will balance connections among the list of servers listed below.
listen hiveserver2 :10001
mode tcp
option tcplog
balance source
server bigdataserver-3-hive2 bigdataserver-3:10000
server bigdataserver-4-hive2 bigdataserver-4:10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment