Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop 总和或计数不起作用的HiveQL查询_Hadoop_Hive_Hiveql - Fatal编程技术网

Hadoop 总和或计数不起作用的HiveQL查询

Hadoop 总和或计数不起作用的HiveQL查询,hadoop,hive,hiveql,Hadoop,Hive,Hiveql,目前只有简单的SELECT查询实际返回数据。所有其他查询仅在显示以下消息后停止处理: Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-2.1.0.jar!/hive-log4j2.properties Async: true WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the f

目前只有简单的SELECT查询实际返回数据。所有其他查询仅在显示以下消息后停止处理:

Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-2.1.0.jar!/hive-log4j2.properties Async: true
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. tez, spark) or using Hive 1.X releases.
Query ID = root_20161004163653_24333e2f-b221-4639-9b6c-69161aa5a41d
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>
使用jar:file:/usr/local/hive/lib/hive-common-2.1.0.jar中的配置初始化日志记录/hive-log4j2.properties异步:true
警告:MR上的配置单元在配置单元2中已弃用,在未来版本中可能不可用。考虑使用不同的执行引擎(即TEZ、SCAK)或使用HIVE 1 .x版本。
查询ID=root_20161004163653_24333e2f-b221-4639-9b6c-69161aa5a41d
职位总数=1
正在启动作业1/1
编译时确定的reduce任务数:1
要更改减速器的平均负载(以字节为单位):
设置hive.exec.reducers.bytes.per.reducer=
为了限制减速器的最大数量:
设置hive.exec.reducers.max=
为了设置恒定数量的减速器:
设置mapreduce.job.reduces=

简单的选择查询工作正常,原因是它们不会触发后台的Map reduce作业

在Hive2版本中,MR上的Hive已被弃用,因为另一个更现代、更积极开发的执行引擎已经为生产准备了一段时间。在未来的2.X版本中可能会删除该支持。考虑使用不同的执行引擎(即SCAPLE、TEZ)或使用HIVE 1 .x版本,如果您想继续使用


选中,您可能必须使用spark或Tez作为执行引擎,或者使用较旧版本的Hive。

简单的选择查询工作正常,原因是它们不会在后台触发Map reduce作业

在Hive2版本中,MR上的Hive已被弃用,因为另一个更现代、更积极开发的执行引擎已经为生产准备了一段时间。在未来的2.X版本中可能会删除该支持。考虑使用不同的执行引擎(即SCAPLE、TEZ)或使用HIVE 1 .x版本,如果您想继续使用


选中,您可能必须使用spark或Tez作为执行引擎,或者使用旧版本的Hive。

Hadoop版本?发行版?在云中,在多节点裸机集群上,在沙箱中?运行旧式
hive
fact CLI,或
beeline
,或sthg else?什么样的表-外部/托管、Text/AVRO/Parquet/ORC?托管在MySQL、PostgreSQL和derby中的Metastore?您是否检查了ZK锁(
显示锁
)?Hadoop版本?发行版?在云中,在多节点裸机集群上,在沙箱中?运行旧式
hive
fact CLI,或
beeline
,或sthg else?什么样的表-外部/托管、Text/AVRO/Parquet/ORC?托管在MySQL、PostgreSQL和derby中的Metastore?您是否检查了ZK锁(
显示锁
)?