hive> select distinct s_id from score where c_id=01 and c_id=02
> ;
Automatically selecting local only mode for query
WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
Query ID = hadoop00_20190711160119_64b8dbc4-8cd3-4a9f-bf19-638b9ae6c198
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 1
In order to change the average load for a reducer (in bytes):
set hive.exec.reducers.bytes.per.reducer=
In order to limit the maximum number of reducers:
set hive.exec.reducers.max=
In order to set a constant number of reducers:
set mapreduce.job.reduces=
Job running in-process (local Hadoop)
2019-07-11 16:01:23,125 Stage-1 map = 0%, reduce = 0%
2019-07-11 16:01:25,129 Stage-1 map = 100%, reduce = 100%
Ended Job = job_local1844194359_0038
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 244198 HDFS Write: 218083 SUCCESS
Total MapReduce CPU Time Spent: 0 msec
OK
Time taken: 5.251 seconds
查询语句在使用mapreduce是,显示成功,但在终端不显示查询结果为什么?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答
悬赏问题
- ¥15 微信会员卡接入微信支付商户号收款
- ¥15 如何获取烟草零售终端数据
- ¥15 数学建模招标中位数问题
- ¥15 phython路径名过长报错 不知道什么问题
- ¥15 深度学习中模型转换该怎么实现
- ¥15 HLs设计手写数字识别程序编译通不过
- ¥15 Stata外部命令安装问题求帮助!
- ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
- ¥15 TYPCE母转母,插入认方向
- ¥15 如何用python向钉钉机器人发送可以放大的图片?