Hi,
Does anyone know how to get a Windows client to Connect to Hive successfully? I've tried the code below: Class.forName("org.apache.hadoop.hive.jdbc.HiveDriver"); Connection con = DriverManager.getConnection("jdbc:hive://192.168.1.1:10000/default", "", ""); Statement stmt = con.createStatement(); stmt.executeQuery("select * from x"); But get the following error: Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.hive.jdbc.HiveDriver Is it possible to do this? Any help would be really appreciated. Regards Stuart Scott System Architect emis intellectual technology Fulford Grange, Micklefield Lane Rawdon Leeds LS19 6BA E-mail: stuart.sc...@e-mis.com <mailto:stuart.sc...@e-mis.com> Website: www.emisit.com <outbind://26/www.emisit.com> Privileged and/or Confidential information may be contained in this message. If you are not the original addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, please delete this message, and notify us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by EMIS nor can I conclude contracts on its behalf unless otherwise indicated by an authorised representative independently of this message. EMIS reserves the right to monitor, intercept and (where appropriate) read all incoming and outgoing communications. By replying to this message and where necessary you are taken as being aware of and giving consent to such monitoring, interception and reading. EMIS is a trading name of Egton Medical Information Systems Limited. Registered in England. No 2117205. Registered Office: Fulford Grange, Micklefield Lane, Rawdon, Leeds, LS19 6BA