When you run Hive as a server, an application can connect to the server in multiple ways.
Thrift Client - The languages (i.e., C++, Java, PHP, Python, Ruby) that support Thrift can connect to Hive Server (as it is based on Thrift).JDBC Driver- The Java applications can also connect to Hive using JDBC driver. As it is being defined in class org.apache.hadoop.hive.jdbc.HiveDriver.ODBC Driver - The applications that support ODBC protocol can connect to Hive using ODBC driver.