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