Yarn Installation Deployment

Source: Internet
Author: User

The installation of yarn is based on HDFs HA (http://www.cnblogs.com/yinchengzhe/p/5140117.html).

1, Configuration Yarn-site.xml

Parameter Details Reference http://www.cnblogs.com/yinchengzhe/p/5142659.html

The configuration is as follows:

  

  

2, Configuration Mapred-site.xml

Under ${hadoop_home}/etc/hadoop/, rename the Mapred-site.xml.templat to Mapred-site.xml

The configuration is as follows:

  

Compared to Hadoop1.0, the user no longer has to configure Mapred.job.tracker, because Jobtracker has become a library of the client, he may be randomly dispatched to any slave, that is, its location is dynamically generated

3, start off

  Start yarn on the H1, execute

> sbin/start-yarn.sh

Start Jobhistory Server on H2, execute

> sbin/mr-jobhistory-daemon.sh start historyserver

   Note: Hadoop launches jobhistoryserver to implement the historical operation of the Web view job, because the Jobhistoryserver process does not start after the HDFs and yarn processes are started and requires manual startup

     Jobhistory configuration can be referenced http://www.cnblogs.com/yinchengzhe/p/5142659.html

  Close sbin/stop-yarn.sh

     

Yarn Installation Deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.