HIVE ODBC - Failover

In HIVE JDBC Driver - there are options to use Zookeper and multiple HS2 ip addresses to handle failover.

jdbc:hive2://zookeeper_quorum|hs2_host:port/[db][;principal=<hs2_principal>/<hs2_host>|_HOST@<KDC_REALM>][;transportMode=binary|http][;httpPath=<http_path>][;serviceDiscoveryMode=zookeeper;zooKeeperNamespace=<zk_namespace>]

In HIVE ODBC, in the ODBC.ini file, below are the supported options -

[Hive]
Driver = <path_to_libodbchive.so>
Description = Hive Driver v1
DATABASE = default
HOST = <Hive_server_address>
PORT = <Hive_server_port>

Is there a way in which we can add multiple IP's here for failover? Does anyone know of the driver supports it?

Thanks, Manish

Answers


See page 60 of http://www.cloudera.com/content/www/en-us/documentation/other/connectors/hive-odbc/latest/Cloudera-ODBC-Driver-for-Apache-Hive-Install-Guide.pdf for instructions on the HOST keyword, which lets you specify multiple ZooKeeper endpoints.


Need Your Help

Tomcat 7.0.43 "INFO: Error parsing HTTP request header"

java tomcat servlets tomcat7

I use Tomcat 7.0.43 with a websocket application. My app works fine in Tomcat 7.0.42 but with 43 I get the following output when I try to access my server on websockets:

Add prototype/Method to jQuery val();

javascript jquery methods prototype

So I'm sending the values of a bunch of checkboxes to my database, but my database stores the values as tinyint's and jQuery val() returns boolean true or false, which is then sent as a string to the