Installing the Hive JDBC on Clients
If you want to install only the JDBC on your Hive clients, proceed as follows.
- Install the package (it is included in CDH packaging). Use one of the
following commands, depending on the target operating system:
- On Red-Hat-compatible
systems:
$ sudo yum install hive-jdbc
- On SLES
systems:
$ sudo zypper install hive-jdbc
- On Ubuntu or Debian systems:
$ sudo apt-get install hive-jdbc
- On Red-Hat-compatible
systems:
- Add /usr/lib/hive/lib/*.jar and /usr/lib/hadoop/*.jar to your classpath.
You are now ready to run your JDBC client. For more information see the Hive Client document.
<< Using the Hive Schema Tool | Setting HADOOP_MAPRED_HOME >> | |