Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Hive Client connect error


+
Ayon Sinha 2011-06-25, 07:59
Copy link to this message
-
Re: Hive Client connect error
You can build the fb303.jar from the apache thrift src.you may need
libthrift.jar too,but not sure.
在 2011-6-25 下午4:00,"Ayon Sinha" <[EMAIL PROTECTED]>写道:
>
> I'm following the instructions on
http://wiki.apache.org/hadoop/Hive/HiveJDBCInterface
> I have the HiveDriver show up in the list but when I try to connect I get:
> ClassNotFound for com.facebook.fb303.FacebookService$IFace
>
> I have the following classes in SQuirrel's extra classpath:
>
> hadoop-core-0.20.2-cdh3u0.jar
> hive-cli-0.7.0-cdh3u0.jar.           //not need
> hive-anttasks-0.7.0-cdh3u0.jar.      //not need
> hive-contrib-0.7.0-cdh3u0.jar        //not need
> hive-exec-0.7.0-cdh3u0.jar
> hive-common-0.7.0-cdh3u0.jar
> hive-hbase-handler-0.7.0-cdh3u0.jar. //not need
> hive-hwi-0.7.0-cdh3u0.jar                     //not need
> hive-jdbc-0.7.0-cdh3u0.jar
> hive-metastore-0.7.0-cdh3u0.jar
> hive-serde-0.7.0-cdh3u0.jar
> hive-service-0.7.0-cdh3u0.jar
> hive-shims-0.7.0-cdh3u0.jar.         //not sure
>
> -Ayon
> See My Photos on Flickr
> Also check out my Blog for answers to commonly asked questions.
+
Sun, Michael 2011-06-25, 21:20