Hive Server Address Java !new! Here
To successfully look into or report on a Hive Server address in Java, one must verify the , port , and transport mode . The JDBC URL acts as the bridge, and any mismatch between the server's hive-site.xml configuration and the Java connection string will result in a transport exception.
import java.sql.*;