hive数据能够加载,但是select语句卡顿 有哪位大神在线帮忙看一下

西瓜shine 2017-05-16 10:09:18
hive数据能够加载,但是select语句卡顿
有哪位大神在线帮忙看一下

hive>LOAD DATA LOCAL INPATH '/home/hadoop/upload/SogouQ2.txt' INTO TABLE SOGOUQ2;
Copying data from file:/home/hadoop/upload/SogouQ2.txt
Copying file: file:/home/hadoop/upload/SogouQ2.txt
Loading data to table hive.sogouq2
Table hive.sogouq2 stats: [numFiles=2, numRows=0, totalSize=326191991, rawDataSize=0]
OK
Time taken: 9.264 seconds
hive> select count(*) from SOGOUQ2;
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
set mapreduce.job.reduces=<number>
...全文
418 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
shiter 熟练 2017-05-21
  • 打赏
  • 举报
回复
可以把队列优先级设置一下》》?
LinkSe7en 2017-05-16
  • 打赏
  • 举报
回复
没看出有什么问题啊。你是不是把hive理解为数据库了?

1,261

社区成员

发帖
与我相关
我的任务
社区描述
Spark由Scala写成,是UC Berkeley AMP lab所开源的类Hadoop MapReduce的通用的并行计算框架,Spark基于MapReduce算法实现的分布式计算。
社区管理员
  • Spark
  • shiter
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧