
hive
wangxj_2017
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
not recognize input near 'row' 'format' 'delimited' in select clause
在使用hive出现如下的问题: hive> insert overwrite local directory '/opt/data/traindata' row format delimited fields terminated by '\t' select * from dw_rcm_hitop_prepare2train_dm; FAILED: Parse Error: line 1:5原创 2017-09-23 10:18:15 · 2673 阅读 · 0 评论 -
hive一直卡住不动,jps时ResourceManager 没启动
在使用hive时,遇到只要查询涉及到跑MR的时候,就会卡住不动; 例如 hive> select id from db_hive.student; Total jobs = 1 Launching Job 1 out of 1 Number of reduce tasks is set to 0 since there's no reduce operator 就会卡住不动。这里一般要jps原创 2017-10-01 19:54:43 · 11802 阅读 · 4 评论 -
hive查询如何显示查询的字段
实际查询中 hive >select id ,name from db_hive.student; 结果是这样的 11111 lisi 22222 wangwu 33333 zhaoxi11111 但是我们想查询出来的结果 有对应字段的意义 id , name id name 11111 lisi 22222 wangwu 33333 zhaoxi11111 这里只需要在 hiv原创 2017-10-01 21:37:21 · 4500 阅读 · 0 评论