ERROR tool.ExportTool: Error during export: Export job failed
从网上查看网友的经历,发现可能是hive 库表文件没有指定分隔符,打开hive中的对应目录,发现所有数据没有任何分隔符,难怪,这让计算机怎么去识别?这一大串的数据。
删除现有的表,重新新建一个表,这个时候既定一定要添加上分割符。row format delimited fields terminated by '\t'
下边是一个简单的案例
CREATE TABLE weblog_150520 row format delimited fields terminated by '\t' AS SELECT 150520, a.pv, b.reguser, c.ip, d.jumper FROM pv_150520 a JOIN reguser_150520 b ON 1=1 JOIN ip_150520 c ON 1=1 JOIN jumper_150520 d ON 1=1;
http://www.lishiyu.cn/post/78.html