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

  • 相关阅读:
    Vue3.0实战项目
    Vue 笔试题(做对九题即可成为前端懂王)
    CSS 响应式布局---Grid 布局
    CSS快速提升技巧(一)
    前端骨架屏
    Python学习29
    Python学习28
    Python学习27
    Python学习26
    Python学习25
  • 原文地址:https://www.cnblogs.com/laodageblog/p/3731299.html
Copyright © 2011-2022 走看看