更新时间:2022-02-22 GMT+08:00
将MR任务从Windows上提交到Linux上运行
配置场景
用户将MapReduce任务从Windows上提交到Linux上运行,默认情况下,集群不支持此功能,需要通过配置如下参数开启。
![](https://support.huaweicloud.com/intl/zh-cn/ae-ad-1-cmpntguide-mrs/public_sys-resources/note_3.0-zh-cn.png)
本章节操作适用于MRS 3.x及之后版本。
配置描述
在客户端的“mapred-site.xml”配置文件中进行如下配置。“mapred-site.xml”配置文件在客户端安装路径的conf目录下,例如“/opt/client/Yarn/config”。
参数 |
描述 |
默认值 |
---|---|---|
mapreduce.app-submission.cross-platform |
支持在Windows上提交到Linux上运行MR任务的配置项。当该参数的值设为“true”时,表示支持。当该参数的值设为“false”时,表示不支持。 |
true |
父主题: 使用Mapreduce