Host Name
- Last Updated: July 25, 2018
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Hive 8.0
- Documentation
Attribute
HostName (HOST)
Purpose
Specifies the name or the IP address of the server to which you want to connect. When Apache ZooKeeper support is enabled (ZooKeeperDiscovery=1), this option specifies a list of member servers of the ZooKeeper ensemble to which you want to connect.
Valid Values for a Single-Server Connection
host_name | IP_address
where:
- hostname
- is the name of the Apache Hive server to which you want to connect
- IP_address
- is the IP address of the server to which you want to connect.
Valid Values for a ZooKeeper Connection (ZooKeeperDiscovery=1)
host_name:port_number | IP_address:port_number [, ...]
where:
- hostname
- is the name of an ensemble server to which you want to connect.
- port_number
- is the port number of the server listener.
- IP_address
- is the IP address of the server to which you want to connect.
For example:
server1:10000,255.125.1.11:2818,server3:2828
Notes
- When Zookeeper support is enabled, the driver will return an error if unable to connect to any of the ZooKeeper servers specified with this option.
Default
None