Java鐭ヨ瘑鍒嗕韩缃?- 杞绘澗瀛︿範浠庢寮€濮嬶紒聽聽聽聽

SVN瑙嗛鏁欑▼(缁撳悎eclipse,idea)鍏嶈垂棰嗗彇

姣曡浠e仛锛屽寘鏌ラ噸锛?a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1982956321&site=qq&menu=yes">鑱旂郴浜篞Q锛?982956321锛? 姣曡澶х

棰嗗彇鍥藉唴浼樼灏变笟锛屽姞钖紝璺虫Ы椤圭洰璇剧▼婧愮爜-vue2+jwt+springboot+mybaits鍓嶅悗绔垎绂婚€氳褰曠郴缁熻绋?/h2>

SpringBoot鎵撻€犱紒涓氱骇杩涢攢瀛?/h2>

Java1234 VIP璇剧▼

棰嗗彇寰俊鎵爜鐧诲綍Java瀹炵幇瑙嗛鏁欑▼

Java1234鑷冲皧VIP锛堢壒浠锋椿鍔級
褰撳墠浣嶇疆: 涓婚〉 > Java鏂囨。 > Java鍩虹鐩稿叧 >

Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide PDF 涓嬭浇


鍒嗕韩鍒帮細
鏃堕棿:2020-05-22 17:53鏉ユ簮:http://vitrailad.com 浣滆€?灏忛攱  渚垫潈涓炬姤
Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide PDF 涓嬭浇
澶辨晥閾炬帴澶勭悊
Cloudera-JDBC-Driver-for-Apache-Hive-Install-Guide PDF 涓嬭浇

 
鏈珯鏁寸悊涓嬭浇锛?/strong>
閾炬帴锛?a href="https://pan.baidu.com/s/1bQ7oxxsznFc5njXh8zOIVA" target="_blank">https://pan.baidu.com/s/1bQ7oxxsznFc5njXh8zOIVA 
鎻愬彇鐮侊細q2tv
 
鐩稿叧鎴浘锛?/strong>
 
涓昏鍐呭锛?/strong>

Cloudera JDBC Driver for Apache Hive Files
The Cloudera JDBC Driver for Apache Hive is delivered in the following ZIP archives, where
[Version] is the version number of the driver:
l HiveJDBC4_[Version].zip
l HiveJDBC41_[Version].zip
l HiveJDBC42_[Version].zip
The archive contains the driver supporting the JDBC API version indicated in the archive name, as
well as release notes and third-party license information. In addition, the required third-party
libraries and dependencies are packaged and shared in the driver JAR file in the archive.
Cloudera JDBC Driver for Apache Hive | 7
Cloudera JDBC Driver for Apache Hive Files
Installing and Using the Cloudera JDBC Driver for Apache Hive
To install the Cloudera JDBC Driver for Apache Hive on your machine, extract the files from the
appropriate ZIP archive to the directory of your choice.
To access a Hive data store using the Cloudera JDBC Driver for Apache Hive, you need to configure
the following:
l The list of driver library files (see "Referencing the JDBC Driver Libraries" on page 8) l The Driver or DataSource class (see "Registering the Driver Class" on page 9) l The connection URL for the driver (see "Building the Connection URL" on page 10)
Referencing the JDBC Driver Libraries
Before you use the Cloudera JDBC Driver for Apache Hive, the JDBC application or Java code that
you are using to connect to your data must be able to access the driver JAR files. In the application
or code, specify all the JAR files that you extracted from the ZIP archive.
Using the Driver in a JDBC Application
Most JDBC applications provide a set of configuration options for adding a list of driver library
files. Use the provided options to include all the JAR files from the ZIP archive as part of the driver
configuration in the application. For more information, see the documentation for your JDBC
application.
Using the Driver in Java Code
You must include all the driver library files in the class path. This is the path that the Java Runtime
Environment searches for classes and other resource files. For more information, see "Setting the
Class Path" in the appropriate Java SE Documentation.
For Java SE 6:
l For Windows:
https://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html
l For Linux and Solaris:
https://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html
For Java SE 7:
l For Windows:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html
l For Linux and Solaris:
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/classpath.html
For Java SE 8:
l For Windows:
http://docs.oracle.com/javase/8/docs/technotes/tools/windows/classpath.html
8 | Cloudera JDBC Driver for Apache Hive
Installing and Using the Cloudera JDBC Driver for Apache Hive
l For Linux and Solaris:
http://docs.oracle.com/javase/8/docs/technotes/tools/solaris/classpath.html
Registering the Driver Class
Before connecting to your data, you must register the appropriate class for your application.
The following classes are used to connect the Cloudera JDBC Driver for Apache Hive to Hive data
stores: l The Driver classes extend java.sql.Driver. l The DataSource classes extend javax.sql.DataSource and
javax.sql.ConnectionPoolDataSource.
The driver supports the following fully-qualified class names (FQCNs) that are independent of the
JDBC version:
l com.cloudera.hive.jdbc.HS1Driver
l com.cloudera.hive.jdbc.HS2Driver
l com.cloudera.hive.jdbc.HS1DataSource
l com.cloudera.hive.jdbc.HS2DataSource

 

------鍒嗛殧绾?---------------------------
鍏虫敞Java1234寰俊鍏紬鍙?/strong>
鎺ㄨ崘璧勬枡