元数据错误:无法在Hive中验证serde:com.bizo.hive.serde.csv.CSVSerde

时间:2018-04-07 02:50:43

标签: csv hive loading

  

失败:元数据错误:无法验证serde:com.bizo.hive.serde.csv.CSVSerde
      FAILED:执行错误,从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" = "\\" ) 

存储为文本文件;这是我用来的命令:

enter image description here

1 个答案:

答案 0 :(得分:0)

要了解如何使用Hive尝试下载更新的虚拟机,例如HDP 2.6或启动云中的dataproc / emr实例。 Datalab有a good number of tutorials

老实说,我会尝试学习火花。然后,您可以使用Databricks Community Edition在浏览器中学习