10100
编号 | 错误信息 |
---|---|
10100 |
A non-native table cannot be used as target for LOAD |
-
错误原因
LOAD的目标表必须为本地表。
-
解决方案
请保证LOAD的目标表是本地表。
10101
编号 | 错误信息 |
---|---|
10101 |
Lock manager not specified correctly, set hive.lock.manager |
-
错误原因
transaction.type设置不正确。
-
解决方案
请检查transaction.type的设置,其取值仅允许从none/inceptor/hyperbase三种中选择。
10102
编号 | 错误信息 |
---|---|
10102 |
Lock manager could not be initialized, check hive.lock.manager |
-
错误原因
未设置参数transaction.type。
-
解决方案
请正确设置transaction.type,其取值有none/inceptor/hyperbase三种。
10103
编号 | 错误信息 |
---|---|
10103 |
Locks on the underlying objects cannot be acquired. retry after some time |
-
错误原因
不能获得潜在目标对象的锁。
-
解决方案
请稍后重试。
10104
编号 | 错误信息 |
---|---|
10104 |
Check hive.zookeeper.quorum and hive.zookeeper.client.port |
-
错误原因
未正确配置hive.zookeeper.quorum和hive.zookeeper.client.port。
-
解决方案
请保证正确配置这两个参数。
10110
编号 | 错误信息 |
---|---|
10110 |
Partition value contains a reserved substring |
-
错误原因
分区字段的value中包含有预留字符串。
-
解决方案
请避免预留字符串出现在分区字段值中。
10112
编号 | 错误信息 |
---|---|
10112 |
Query against an offline table or partition |
-
错误原因
使用ALTER TABLE ENABLE OFFLINE使表离线后,又对该表进行了查询。
-
解决方案
请使用ALTER TABLE DISABLE OFFLINE以解除该表的离线状态。
10113
编号 | 错误信息 |
---|---|
10113 |
The query results could be wrong. Turn on hive.outerjoin.supports.filters |
-
错误原因
在当前设置下,对于外联接查询的情况,如果语句包含过滤操作,可能导致该查询结果有误。
-
解决方案
请设置hive.outerjoin.supports.filters为true。
10114
编号 | 错误信息 |
---|---|
10114 |
Table is partitioned and partition specification is needed |
-
错误原因
{appearin46}对分区表执行ANALYZE时没有指定分区。
-
解决方案
请执行ANALYZE操作时指定分区。
10115
编号 | 错误信息 |
---|---|
10115 |
The metadata file could not be parsed |
-
错误原因
Metastore的版本太旧或者信息缺失需要更新。
-
解决方案
请对Metastore的版本或信息进行更新。
10117
编号 | 错误信息 |
---|---|
10117 |
Partition already exists |
-
错误原因
当使用EXCHANGE PARTITION交换分区时,如果目标表已存在指定分区,则会报出此错误。
-
解决方案
请更换分区或放弃此操作。
10118
编号 | 错误信息 |
---|---|
10118 |
Table exists and contains data files |
-
错误原因
表已经存在,并且包含有数据,此时用IMPORT语句向该表添加数据时会报该错。
-
解决方案
请保证IMPORT操作的目标对象数据为空。
10119
编号 | 错误信息 |
---|---|
10119 |
The existing table is not compatible with the import spec. |
-
错误原因
使用IMPORT语句向一个新建的表中导入数据时,如果源数据的结构和目标对象不匹配,则会出现报错。
-
解决方案
请保证源数据结构和目标对象一致。
10120
编号 | 错误信息 |
---|---|
10120 |
Export/Import cannot be done for a non-native table. |
-
错误原因
不支持对非本地表执行EXPORT/IMPORT操作。
-
解决方案
请检查操作对象是否为本地表。
10121
编号 | 错误信息 |
---|---|
10121 |
Bucketized tables do not support INSERT INTO: |
-
错误原因
不支持向分桶表进行执行INSERT INTO操作。
-
解决方案
请放弃此操作选择其他目标对象。
10122
编号 | 错误信息 |
---|---|
10122 |
In strict mode, comparing bigints and strings is not allowed, it may result in a loss of precision. If you really want to perform the operation, set hive.mapred.mode=nonstrict |
-
错误原因
当hive.mapred.mode=strict时不允许对BIGINT和STRING类型的表达式进行对比,因为会由于精度问题导致结果错误。
-
解决方案
如果一定需要进行二者类型的比较,请将hive.mapred.mode设置为nostrict。
10123
编号 | 错误信息 |
---|---|
10123 |
In strict mode, comparing bigints and doubles is not allowed, it may result in a loss of precision. If you really want to perform the operation, set hive.mapred.mode=nonstrict |
-
错误原因
当hive.mapred.mode=strict时不允许对BIGINT和DOUBLE类型进行对比,因为会由于精度问题导致结果错误。
-
解决方案
如果一定需要进行二者类型的比较,请将hive.mapred.mode设置为nostrict。
10124
编号 | 错误信息 |
---|---|
10124 |
Partition columns in partition specification are not the same as that defined in the table schema. The names and orders have to be exactly the same. |
-
错误原因
指定分区时所用字段和定义分区表时的所用字段不一致。
-
解决方案
请在指定分区时保证字段和定义一致。
10125
编号 | 错误信息 |
---|---|
10125 |
Partition column must be of primitive type. |
-
错误原因
分区字段类型必须为简单数据类型,而不能是复杂数据类型。
-
解决方案
请保证分区字段为简单数据类型。
10126
编号 | 错误信息 |
---|---|
10126 |
Dynamic partitions do not support IF NOT EXISTS. Specified partitions with value : |
-
错误原因
动态分区不支持关键字IF NOT EXISTS。
-
解决方案
当IF NOT EXISTS作用于分区时请用静态方式明确指定分区。
10127
编号 | 错误信息 |
---|---|
10127 |
Not yet supported place for UDAF |
-
错误原因
不支持聚合函数内嵌;或者不支持向聚合函数传入复合类型对象。
-
解决方案
请改写语句以避免聚合函数内嵌;或者避免向聚合函数传入复合类型对象。
10128
编号 | 错误信息 |
---|---|
10128 |
Drop partitions for a non string partition columns is not allowed using non-equality |
-
错误原因
对单值分区执行DROP PARTITION时,不支持对非字符串分区字段用非等的方式指定分区。
-
解决方案
请用等号的方式指明待DROP分区的各字段值。
10129
编号 | 错误信息 |
---|---|
10129 |
To alter a view you need to use the ALTER VIEW command. |
-
错误原因
当对一个VIEW使用ALTER TABLE进行修改时会报该错。
-
解决方案
对VIEW进行修改时,请使用ALTER VIEW,而不要错用ALTER TABLE。
10130
编号 | 错误信息 |
---|---|
10130 |
To alter a base table you need to use the ALTER TABLE command. |
-
错误原因
当对一个TABLE使用ALTER VIEW进行修改时会报该错。
-
解决方案
对TABLE进行修改时,请使用ALTER TABLE,而不要错用ALTER VIEW。
10131
编号 | 错误信息 |
---|---|
10131 |
Cannot use this form of ALTER on a view |
-
错误原因
当前的ALTER操作不适用于VIEW。
-
解决方案
可作用于VIEW的ALTER操作仅包含ADD PARTITION、DROP PARTITION、RENAMEPARTITION、ADDPROPS、DROPPROPS、RENAME。
10132
编号 | 错误信息 |
---|---|
10132 |
ALTER TABLE cannot be used for a non-native table |
-
错误原因
不能对非本地表执行ALTER TABLE。
-
解决方案
请检查该表是否为非本地表,若是请放弃此操作。
10133
编号 | 错误信息 |
---|---|
10133 |
Sort merge bucketed join could not be performed. If you really want to perform the operation, either set hive.optimize.bucketmapjoin.sortedmerge=false, or set hive.enforce.sortmergebucketmapjoin=false. |
-
错误原因
SORT MERGE JOIN无法在当前的情况下执行。
-
解决方案
如一定需要按照SORT MERGE JOIN执行JOIN,请关闭hive.optimize.bucketmapjoin.sortedmerge或者hive.enforce.sortmergebucketmapjoin。
10134
编号 | 错误信息 |
---|---|
10134 |
Bucketed mapjoin cannot be performed. This can be due to multiple reasons: . Join columns dont match bucketed columns. . Number of buckets are not a multiple of each other. If you really want to perform the operation, either remove the mapjoin hint from your query or set hive.enforce.bucketmapjoin to false. |
-
错误原因
无法执行Bucketed Mapjoin,可能是由以下两个原因导致:1.Join字段和分桶字段不一致;2.两张表的分桶数量之间不互为倍数。
-
解决方案
如一定需要按照Bucketed Mapjoin执行JOIN,请移除MAPJOIN HINT或者关闭hive.enforce.bucketmapjoin开关。
10135
编号 | 错误信息 |
---|---|
10135 |
Bucketed table metadata is not correct. Fix the metadata or don’t use bucketed mapjoin, by setting hive.enforce.bucketmapjoin to false. |
-
错误原因
分桶表的元数据不存在,导致Bucketed Mapjoin无法执行。
-
解决方案
请关闭hive.enforce.bucketjoin开关,或者重新尝试。
10136
编号 | 错误信息 |
---|---|
10136 |
Single join node containing outer join(s) cannot have more than 16 aliases |
-
错误原因
同级的SQL语句中不能有超过16个连续OUTER JOIN。
-
解决方案
当OUTER JOIN数量超过16时,请对语句进行拆分改写,例如拆分成多个物化表或者WITH-AS从句实现。
10138
编号 | 错误信息 |
---|---|
10138 |
SHOW CREATE TABLE does not support tables of type INDEX_TABLE. |
-
错误原因
不能对索引表执行SHOW CREATE TABLE。
-
解决方案
请放弃此操作。
10139
编号 | 错误信息 |
---|---|
10139 |
Table is not bucketized. |
-
错误原因
对非分桶表执行了修改分桶数量的操作。
-
解决方案
请放弃当前操作。
10140
编号 | 错误信息 |
---|---|
10140 |
Cannot truncate non-managed table string. |
-
错误原因
不能对外表和非本地表执行TRUNCATE。
-
解决方案
请确认此表是否为外表和非本地表,若是请放弃此操作。
10141
编号 | 错误信息 |
---|---|
10141 |
Cannot truncate non-native table string. |
-
错误原因
不能对非本地表进行TRUNCATE。
-
解决方案
请确认此表是否为非本地表,若是请放弃此操作。
10142
编号 | 错误信息 |
---|---|
10142 |
Partition spec for non partitioned table string. |
-
错误原因
对非分区表进行了指定分区的操作。
-
解决方案
请不要对非分区表指定分区。
10143
编号 | 错误信息 |
---|---|
10143 |
A stored-as-directories table cannot be used as target for LOAD |
-
错误原因
不能对通过STORED AS <文件类型>方式创建的表执行LOAD DATA。
-
解决方案
请放弃此操作。
10147
编号 | 错误信息 |
---|---|
10147 |
hive.mapred.supports.subdirectories must be true if any one of following is true: hive.optimize.listbucketing , mapred.input.dir.recursive and hive.optimize.union.remove. |
-
错误原因
当hive.optimize.listbucketing、mapred.input.dir.recursive、hive.optimize.union.remove三个开关任意之一处于开启状态时,必须将hive.mapred.supports.subdirectories开启。
-
解决方案
检查hive.optimize.listbucketing、mapred.input.dir.recursive、hive.optimize.union.remove三个开关的状态,改变hive.mapred.supports.subdirectories的状态。