您的位置:首页 > 运维架构

hadoop配置文件mapred-site.xml

2016-12-17 14:42 447 查看
<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!--

  Licensed under the Apache License, Version 2.0 (the "License");

  you may not use this file except in compliance with the License.

  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software

  distributed under the License is distributed on an "AS IS" BASIS,

  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

  See the License for the specific language governing permissions and

  limitations under the License. See accompanying LICENSE file.

-->

<!-- Put site-specific property overrides in this file. -->

<configuration>

<!--指定运行mapreduce的环境是yarn-->

    <property>

        <name>mapreduce.framework.name</name>

        <value>yarn</value>

    </property>

<!--配置历史服务器-->

    <property>

        <name>mapreduce.jobhistory.address</name>

        <value>hadoop-senior01.beifeng.com:10020</value>

    </property>

    <property>

        <name>mapreduce.jobhistory.webapp.address</name>

        <value>hadoop-senior01.beifeng.com:19888</value>

    </property>

</configuration>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: