Using Hive with Oracle
Before using Hive with a new or existing Oracle database; obtain the appropriate driver and .jar files, and create a Hive user with sufficient permissions.
Determine the appropriate Oracle database version and obtain
the release drivers and .jar file.
Oracle Database Version | Drivers | File |
---|---|---|
Oracle Database 11g | Oracle Database 11g Release 2 drivers | ojdbc6.jar |
Oracle Database 12c | Oracle Database 12c Release 1 drivers | ojdbc6.jar |
Note | |
---|---|
Although Oracle recommends ojbdc version 7 for use with Oracle12, Hive 1.x,
2.x, and 3 currently work best with ojdbc6. |