Upgrade to Pro — share decks privately, control downloads, hide ads and more …

yarn分享

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 yarn分享

简单介绍一下yarn的原理。

Avatar for henshao

henshao

June 04, 2013
Tweet

Other Decks in Programming

Transcript

  1. 23 May, 2012: Release 2.0.0-alpha available This is the first

    (alpha) version in the hadoop-2.x series. This delivers significant major features over the currently stable hadoop-1.x series including: HDFS HA for NameNode (manual failover) YARN aka NextGen MapReduce HDFS Federation Performance Wire-compatibility for both HDFS and YARN/MapReduce (using protobufs) Please see the Hadoop 2.0.0-alpha Release Notes for details. Hadoop 2.0 release note
  2. [master sbin] jps 1611 NameNode 2809 JobHistoryServer 1727 DataNode 2126

    ResourceManager 1906 SecondaryNameNode 2229 NodeManager [slave~]$ jps 17687 NodeManager 17551 DataNode
  3. REST API's $ curl -s 'http://master:8088/proxy/ application_1366622139965_0006/ws/v1/mapreduce/info' { "info": {

     "appId":"application_1366622139965_0006",  "name":"wordcount",  "user":"henshao",  "startedOn":1366726680300,  "elapsedTime":28513 } }
  4. The interfaces you'd most like be concerned with are: 1、ClientRMProtocol

    - Client<-->ResourceManager 2、AMRMProtocol - ApplicationMaster<-->ResourceManager 3、ContainerManager - ApplicationMaster<-->NodeManager 协议