Using the Hive IDE
Besides the command-line interface, there are other Integrated Development Environment (IDE) tools available to support Hive. One of the best is Oracle SQL Developer, which leverages the powerful functionalities of the Oracle IDE and is totally free to use. Since Oracle SQL Developer supports general JDBC connections, it is quite convenient to switch between Hive and other JDBC-supported databases in the same IDE. Oracle SQL Developer has supported Hive since v4.0.3. Configuring it to work with Hive is quite straightforward:
- Download Oracle SQL Developer (http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html).
- Download the Hive JDBC drivers (https://www.cloudera.com/downloads/connectors/hive/jdbc.html).
- Unzip the driver file to a local directory.
- Start Oracle SQL Developer and navigate to
Preferences
|Database
|Third Party JDBC Drivers
. - Add all of the
JAR
files contained in the unzipped directory to the window, as shown in the following screenshot...