Driver Class Name : org.apache.hive.jdbc.HiveDriver
This driver is used by Java applications or data pipeline frameworks to open connections to Hive servers .
jdbc:hive2://hostname:port/database
Example:
URL : jdbc:hive2://192.168.1.50:10000/default
Explanation:
Parameters : username:root,password:pwd
Another example:
Parameters : username:hive,password:hive123
This parameter is usually used for:
| Map Reduce |
Spark 1.x RDD |
Spark 2.x RDD |
Spark 2.x Dataset |
Apache Beam 2.29.0 Batch |
Apache Beam 2.29.0 Streaming |
Apache Flink 1.12.x Batch |
Apache Flink 1.12.x Streaming |
Apache Tez 0.9.1 |
PySpark |
|---|---|---|---|---|---|---|---|---|---|