zoukankan      html  css  js  c++  java
  • yarn源代码


    Modules
    -------
    YARN consists of multiple modules. The modules are listed below as per the directory structure:

    hadoop-yarn-api - Yarn's cross platform external interface

    hadoop-yarn-common - Utilities which can be used by yarn clients and server

    hadoop-yarn-server - Implementation of the hadoop-yarn-api
    hadoop-yarn-server-common - APIs shared between resourcemanager and nodemanager
    hadoop-yarn-server-nodemanager (TaskTracker replacement)
    hadoop-yarn-server-resourcemanager (JobTracker replacement)

    Utilities for understanding the code
    ------------------------------------
    Almost all of the yarn components as well as the mapreduce framework use
    state-machines for all the data objects. To understand those central pieces of
    the code, a visual representation of the state-machines helps much. You can first
    convert the state-machines into graphviz(.gv) format by
    running:
    mvn compile -Pvisualize
    Then you can use the dot program for generating directed graphs and convert the above
    .gv files to images. The graphviz package has the needed dot program and related
    utilites.For e.g., to generate png files you can run:
    dot -Tpng NodeManager.gv > NodeManager.png

  • 相关阅读:
    Elastic 技术栈之快速入门
    JDK8 指南(译)
    Intellij IDEA 使用小结
    面向对象1
    函数总结
    Python中i = i + 1与i + = 1的区别
    python中变量的交换
    python的数据类型的有序无序
    对列表里的字典按年龄从小到大排序
    centos7安装python3
  • 原文地址:https://www.cnblogs.com/laodageblog/p/3731299.html
Copyright © 2011-2022 走看看