你可以使用“bin / hadoop jar hadoop-mapreduce-examples.jar wordcount -Dmapreduce.framework.name = yarn-tez输出输出”。
“-Dkey = value”可用于覆盖* -site.xml文件中指定的大多数配置属性。
或者,您可以运行本机Tez示例来验证设置(来自tez-examples.jar / tez-mapreduce-examples.jar,具体取决于Tez版本),而不是依赖于在tez模式下运行MapReduce作业。