gpt4 book ai didi

hadoop - 对于某些配置单元查询,我看不到o/p?

转载 作者:行者123 更新时间:2023-12-02 22:07:26 25 4
gpt4 key购买 nike

我的查询是

SELECT txnno, product FROM txnrecsbycat TABLESAMPLE(BUCKET 2 OUT OF 10) ORDER BY txnno;

我获得成功,但无法查看我的运单
我的输出是:

职位总数= 1
启动工作1之1
编译时确定的reduce任务数:1
为了更改 reducer 的平均负载(以字节为单位):
  set hive.exec.reducers.bytes.per.reducer=<number>

为了限制 reducer 的最大数量:
  set hive.exec.reducers.max=<number>

为了设置恒定数量的 reducer :
  set mapreduce.job.reduces=<number>

Starting Job = job_1500975292039_0005, Tracking URL = http://localhost:8088/proxy/application_1500975292039_0005/
Kill Command = /usr/lib/hadoop-2.2.0/bin/hadoop job -kill job_1500975292039_0005
Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 1
2017-07-25 20:26:48,640 Stage-1 map = 0%, reduce = 0%
2017-07-25 20:27:05,179 Stage-1 map = 100%, reduce = 0%, Cumulative CPU 3.61 sec
2017-07-25 20:27:20,461 Stage-1 map = 100%, reduce = 100%, Cumulative CPU 5.47 sec
MapReduce Total cumulative CPU time: 5 seconds 470 msec
Ended Job = job_1500975292039_0005
MapReduce Jobs Launched:
Job 0: Map: 1 Reduce: 1 Cumulative CPU: 5.47 sec HDFS Read: 2498 HDFS Write: 0 SUCCESS
Total MapReduce CPU Time Spent: 5 seconds 470 msec
OK
Time taken: 51.819 seconds

最佳答案

由于输出中包含OK(结果之前),这意味着此查询未返回任何内容。检查桶数据。

关于hadoop - 对于某些配置单元查询,我看不到o/p?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45308343/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com