I can't find any examples anywhere.
 
-Ayon
See My Photos on Flickr
Also check out my Blog for answers to commonly asked questions.



________________________________
From: Ayon Sinha <ayonsi...@yahoo.com>
To: Hive Mailinglist <user@hive.apache.org>
Sent: Monday, June 27, 2011 11:09 PM
Subject: Using Hive Thrift SerDe


Hi,

I can't seem to make Hive find the Thrift SerDe. What do I need to do?

hive> add jar /usr/lib/hive/lib/hive-serde-0.7.0-cdh3u0.jar;                    
                                                 
Added /usr/lib/hive/lib/hive-serde-0.7.0-cdh3u0.jar to class path
Added resource: /usr/lib/hive/lib/hive-serde-0.7.0-cdh3u0.jar
hive> CREATE external TABLE scratch.sk_logs (user_id bigint, request_type int)  
                                                 
    >    ROW FORMAT SERDE 
"org.apache.hadoop.hive.serde2.thrift.ThriftByteStreamTypedSerDe" LOCATION 
'/user/ayon/hiveserdetest' ;
FAILED: Error in metadata: Cannot validate serde: 
org.apache.hadoop.hive.serde2.thrift.ThriftByteStreamTypedSerDe
FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask
hive> 


 
-Ayon
See My Photos on Flickr
Also check out my Blog for answers to commonly asked questions.

Reply via email to