更新时间:2024-11-29 GMT+08:00
Hive配置类问题
- Hive SQL执行报错:java.lang.OutOfMemoryError: Java heap space.
- Hive SQL对列名as为新列名后,使用原列名编译报错:Invalid table alias or column reference 'xxx'.
- Hive SQL子查询编译报错:Unsupported SubQuery Expression 'xxx': Only SubQuery expressions that are top level conjuncts are allowed.
- Hive SQL子查询编译报错:CalciteSubquerySemanticException [Error 10249]: Unsupported SubQuery Expression Currently SubQuery expressions are only allowed as Where and Having Clause predicates.
- Hive SQL编译报错:Error running query: java.lang.AssertionError: Cannot add expression of different type to set.
- Hive SQL执行报错:java.lang.NullPointerException at org.apache.hadoop.hive.ql.udf.generic.GenericUDAFComputeStats$GenericUDAFNumericStatsEvaluator.init.
- Hive SQL设置hive.auto.convert.join = true(默认开启)和hive.optimize.skewjoin=true执行报错:ClassCastException org.apache.hadoop.hive.ql.plan.ConditionalWork cannot be cast to org.apache.hadoop.hive.ql.plan.MapredWork.
- Hive SQL设置hive.auto.convert.join=true(默认开启)、hive.optimize.skewjoin=true和hive.exec.parallel=true执行报错:java.io.FileNotFoundException: File does not exist:xxx/reduce.xml.
- 方法一:切换执行引擎为Tez,详情请参考切换Hive执行引擎为Tez。
- 方法二:set hive.exec.parallel=false;
- 方法三:set hive.auto.convert.join=false;
- Hive on Tez执行Bucket表Join报错:NullPointerException at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.mergeJoinComputeKeys
父主题: Hive常见问题