Re: FW: Connecting to hive

2011-02-16 Thread Ajo Fod
by the sound of the error ... it sounds like you don't have HiveDriver in your path Can you locate the calss that supposedly has the HiveDriver class? Cheers, Ajo On Wed, Feb 16, 2011 at 2:03 PM, Stuart Scott wrote: > Hi, > > > > Does anyone know how to get a Windows client to Connect to Hive >

FW: Connecting to hive

2011-02-16 Thread Stuart Scott
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:1/default", "", ""); Statement