操作环境
- 操作系统:
Centos6.6 -
hadoop版本:2.7.7 -
tez版本:0.9.1
问题描述
在安装Hive on tez后,使用hadoop jar tez-examples-0.9.1.jar orderedwordcount /input/wordcount /output命令测试,报org.apache.tez.dag.api.TezUncheckedException: Invalid configuration of tez jars, tez.lib.uris错误:
问题分析
出现上述错误主要是由于hadoop运行时找不到tez-site.xml文件
解决办法
将tez-site.xml文件放到/opt/module/hadoop/etc/hadoop/目录下