The driver supports Internet Protocol (IP) addresses in IPv4 format.
The server name specified in a connection URL, or data source, can resolve to an IPv4 address. In the following example, the server name Server3 can resolve to an IPv4 address:
Alternately, you can specify addresses using IPv4 format in the server portion of the connection URL. For example, the following connection URL specifies the server using an IPv4 address:
You also can specify addresses using the ServerName data source property. The following example shows a data source definition that specifies the server name using an IPv4 address:
ImpalaDataSource mds = new ImpalaDataSource();
mds.setDescription("My ImpalaDataSource");
mds.setServerName("123.456.78.90");
...