hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayon Sinha <ayonsi...@yahoo.com>
Subject Anyone any ideas? Re: Using Hive Thrift SerDe
Date Wed, 29 Jun 2011 05:47:14 GMT
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 <ayonsinha@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.
Mime
View raw message