我重新提出了旧问题,因为我的情况与我类似
是否可以使用Tez代替MR作业生成索引?
我们有hive.execution.engine = tez
当我尝试创建索引时,创建失败
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Indexes unsupported for Tez execution engine (state=08S01,code=1)
因此,为了在表上创建索引,即使我们想使用TEZ对表中的数据执行查询,也必须始终设置hive.execution.engine=mr
吗?hive 索引+ Tez引擎=没有性能提升?
最佳答案
自Hive 3.0起Indexing is removed。
关于hadoop - TEZ的Hive索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64669140/