Re: Error while executing program with Hive JDBC

2012-04-26 Thread alo alt
You have to use fb303 and libthrift jars, and putting them into the classpath or export them. - Alex -- Alexander Lorenz http://mapredit.blogspot.com On Apr 26, 2012, at 8:14 AM, Bhavesh Shah wrote: > Hello all, > I have written this small program But I am getting error. > > Program: > -

Re: Error while executing program with Hive JDBC

2012-04-26 Thread Aniket Mokashi
put libthrift and libfb303 jars on classpath. Thanks, Aniket On Wed, Apr 25, 2012 at 11:14 PM, Bhavesh Shah wrote: > Hello all, > I have written this small program But I am getting error. > > Program: > - > import java.io.FileWriter; > import java.io.InputStream; > import java.sql.Co

Error while executing program with Hive JDBC

2012-04-25 Thread Bhavesh Shah
Hello all, I have written this small program But I am getting error. Program: - import java.io.FileWriter; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.text.DateFormat; import ja