随笔分类 -  hive

摘要:1、问题Error: Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask (state=08S01,cod 阅读全文
posted @ 2021-03-16 11:16 Vency_L 阅读(3374) 评论(0) 推荐(0)
摘要:一、数据准备 1、users.dat数据格式:2::M::56::16::70072,数据条数:共有6040条数据对应字段:UserID BigInt, Gender String, Age Int, Occupation String, Zipcode String字段解释:用户id,性别,年龄, 阅读全文
posted @ 2020-11-08 20:49 Vency_L 阅读(755) 评论(0) 推荐(0)
摘要:一、数据准备 有如下数据,学生id,课程,分数 1,yuwen,431,shuxue,552,yuwen,772,shuxue,883,yuwen,983,shuxue,65 二、需求分析 1、创建表 create table requirement( sid int, course string, 阅读全文
posted @ 2020-11-07 22:51 Vency_L 阅读(457) 评论(0) 推荐(1)
摘要:一、数据准备 有如下数据:用户名,月份,访问次数 A,2015-01,5A,2015-01,15B,2015-01,5A,2015-01,8B,2015-01,25A,2015-01,5A,2015-02,4A,2015-02,6B,2015-02,10B,2015-02,5A,2015-03,16 阅读全文
posted @ 2020-11-07 22:43 Vency_L 阅读(432) 评论(0) 推荐(0)