Problem
I'd like to create a JDBC Connection to my Highly Available Hive server. This action is not currently supported in Datameer v6.
How can I make this connection?
Workaround
Lets assume that you have the following two hosts for your HA Hive:
hnode-02.datameer.com:10000
hnode-03.datameer.com:10000
You can workaround the restriction of only being able to enter a single Host in a typical JDBC Hive Connection by using a comma between hosts and truncating the last host's port information. You will then pass the truncated port in the actual Port field.
Example Host string:
Host:
hnode-02.datameer.com:10000,hnode-03.datameer.com
Port:
10000
When Datameer attempts to build this supplied detail into a connection string, it will look as follows:
hnode-02.datameer.com:10000,hnode-03.datameer.com:10000
Comments
0 comments
Please sign in to leave a comment.