0

I am trying to create a form and using servlets connect with hive´s tables. But I have some doubts:

  • Is Hive server installed in cloudera quickstart?
  • It is necessary other server like Tomcat for the servlet?
  • Must I have the libraries in the IDE? Or also in other place?
  • Is possible with a form launch a servlet and display the data in the navigator on cloudera quickstart?
  • JDBC must be installed in my local host or also in the virtual machine?
  • Where do I declare the XML?
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

1 Answers1

0

I would suggest using HiveServer JDBC, Write your web application and deploy where ever you want to just use Hive JDBC drivers to connect and query Hive.

Here is more info Hive JDBC https://cwiki.apache.org/confluence/display/Hive/HiveClient

vgunnu
  • 826
  • 8
  • 6
  • You linked to the original HiveServer client. The new documentation for HiveServer2 is here https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-JDBC – OneCricketeer Apr 19 '16 at 16:55
  • which server is installed in quickstart? hive or hive2? JDBC must be installed in my local host or also in the virtual machine? Where do I declare the XML? – Miguel Angel Sanchez Apr 19 '16 at 17:29