Because it is a "Featured Server," you typically do not need to manually enter an address. You can find it under the tab in the main menu.
Check hive --version on server and match client JAR. hive server address java
If beeline works, your Java code will too. Because it is a "Featured Server," you typically
This is the default configuration. The server listens on port 10000 using Thrift binary protocol. Because it is a "Featured Server
jdbc:hive2://host:10000/default;auth=noSasl
String url = "jdbc:hive2://hive-secure.myco.com:10000/secure_db;" + "principal=hive/hive-secure.myco.com@MYCO.REALM;" + "ssl=true;" + "sslTrustStore=/path/to/truststore.jks;" + "trustStorePassword=changeit";