hive错误集锦
来源:互联网 发布:淘宝卖家充快递单号 编辑:程序博客网 时间:2024/06/14 00:23
1.
Total jobs = 1
Stage-1 is selected by condition resolver.Launching Job 1 out of 1
Number of reduce tasks not specified. Estimated from input data size: 999
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>
Starting Job = job_1441775634529_4716705, Tracking URL = http://sh02svr2882.hadoop.sh2.ctripcorp.com:8088/proxy/application_1441775634529_4716705/
Kill Command = /usr/lib/hadoop/bin/hadoop job -kill job_1441775634529_4716705
Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
2015-11-09 14:03:18,207 Stage-1 map = 0%, reduce = 0%
Ended Job = job_1441775634529_4716705 with errors
Error during job, obtaining debugging information...
Job Tracking URL: http://sh02svr2882.hadoop.sh2.ctripcorp.com:8088/proxy/application_1441775634529_4716705/
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec
参数没有设置,执行不了。
更改参考,设置参数:
SET hive.exec.dynamic.partition.mode=nonstrict;
SET hive.exec.parallel=true;
SET hive.exec.compress.intermediate=true;
SET mapred.map.output.compression.codec=org.apache.hadoop.io.compress.SnappyCodec;
SET mapred.job.reuse.jvm.num.tasks=10;
SET hive.auto.convert.join=true;
SET mapred.reduce.tasks=50;
SET hive.mapred.mode=nostrict;
2.
FAILED: SemanticException [Error 10041]: No partition predicate found for Alias "pageview" Table "pageview"
没有分区,对于该表去查其分区字段,并在条件中引用分区
3.
mapreduce进程到reduce98%、99%->failed
数据倾斜
查询主键出现null值,解决办法:COALESCE(userid, '')<>'')
0 0
- hive错误集锦
- HIVE 应用集锦摘录
- Hive报错集锦
- Hive Bug集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- 错误集锦
- iOS9+Swift开发经验不定期汇总(2): 企业账号应用不受信任,自定义Navigation Controller左上角返回按钮,CLLocationManager停止获取GPS等
- 当出现ntdll!KiUserExceptionDispatcher时,如何用windbg 定位正确堆栈
- c++基于windows下完成例程、完成端口使用
- 利用split直接生成boot.img
- 【iOS】【FMDB】【sqlite】try catch实现事务处理
- hive错误集锦
- GeoServer的SQL Views详解
- 处理注解@RequestParam的"Required String parameter is not present" 此博文包含图片
- 【安卓】Android API 指南之数据存储(Data Storage)之存储选项(Storage Options)
- Java基础---类的继承
- [LeetCode154]Find Minimum in Rotated Sorted Array II
- Android:BLE(Bluetooth Low Energy)开发
- 未定义的类型
- 万能的分页类