失败:元数据错误:无法验证serde: com.bizo.hive.serde.csv.CSVSerde 失败:执行错误,从org.apache.hadoop.hive.ql.exec.DDLTask返回代码1
错误就发生在上面。我不知道为什么我认为我在/usr/lib/hive/lib的位置有jar文件,名字是hive-serde-0.10.0-cdh4.2.1.jar
create table timesheet
(BibNum bigint,
Title string,
Author string,
ISBN string,
PublicationYear
string,
Publisher string,
Subjects string,
ItemType string,
ItemCollection String,
FloatingItem string, ItemLocation string,
ReportDate string, ItemCount int
) row format serde 'com.bizo.hive.serde2.csv.CSVSerde'
with serdeproperties ( "seperator 'com.bizo.hive.serde.csv.CSVSerde'
with serdeproperties ( "seperatorChar" = "\t", "quo.csv.CSVSerde'
with serdeproperties ( "seperatorChar" = "\t", "quoteChar" ="'", "escapeChar" = "\\" ) 存储为文本文件;这是我使用的命令:

发布于 2018-04-07 03:34:47
发布于 2022-05-27 03:01:28
下载此https://github.com/downloads/ogrodnek/csv-serde/csv-serde-1.1.2.jar
在Hive查询中运行以下行
add jar hdfs:///user/cloudera/csv-serde-1.1.2.jar;https://stackoverflow.com/questions/49703368
复制相似问题