Configuring QuerySurge Connections: Hadoop Hive
When you create a QuerySurge Connection, the Connection Wizard will guide you through the process. Different types of QuerySurge connections require different types of information.
For a Hive Connection, you will need the following information (check with a Hadoop administrator or other knowledgeable resource in your organization):
- Server Name or IP address of the Hive Server (e.g. myhadoop.myserver.com, or 192.168.0.255)
- The Port for your Hive server (10000 is the default port)
- The Hive Database name
- Database login credentials (ID and Password)
Launch the Add Connection Wizard
- Log into QuerySurge as an Admin user.
- To configure a Connection, select Configuration > Connection in the Administrative View tree (at the left).
- Click on the Add button at the bottom left of the page to launch the Add Connection Wizard. Click Next.
Note: Check the Advanced Mode checkbox for access to advanced features.
- Provide a name for your connection. Select Hive as the Data Source. Click Next.
Note: Hive drivers are bundled with QuerySurge, so you can install a Hive driver from the QuerySurge Installer.
- Once you have selected your Data Source, the Wizard will tell you what information you are likely to need in order to create your Connection. Once you have collected this information, you are ready to click Next.
- Provide the connection information to Hive. This includes the Server name or IP address, the port (the default Hive port will automatically populate), the database name and login credentials if required. Click Next.
Required fields for your Connection Type are marked by an *.
- You can provide an optional Test Query if you want to test your Connection. A query of the type: "Select * from myhivetable limit 1" is suggested. Click Next.
- If you entered a Test Query, you can click on Test Connection (A).
Note: You must have an Agent running with the driver for this Connection deployed in order to test the Connection.
- Save the Connection (B).
- Congratulations! You’ve created a QuerySurge Connection. Again, make sure that you have deployed the driver files for this connection to all your QuerySurge Agents.