Hive - Connecting to Hive JDBC
Download SQL workbench from this link .
Create a new driver. Add /usr/lib/hive/lib/hive-jdbc-standalone.jar in the driver definition. You can find it in the sandbox or maven.
Test the connection and click OK and run queries.