zoukankan      html  css  js  c++  java
  • hadoop内存配置方案

    Configuration File

    Configuration Setting

    Value Calculation

           8G VM (4G For MR)  

    yarn-site.xml

    yarn.nodemanager.resource.memory-mb

    = containers * RAM-per-container

    4096

    yarn-site.xml

    yarn.scheduler.minimum-allocation-mb

    = RAM-per-container

    1024

    yarn-site.xml

    yarn.scheduler.maximum-allocation-mb

    = containers * RAM-per-container

    4096

    mapred-site.xml

    mapreduce.map.memory.mb

    = RAM-per-container

    1024

    mapred-site.xml       

    mapreduce.reduce.memory.mb

    = 2 * RAM-per-container

    2048

    mapred-site.xml

    mapreduce.map.java.opts

    = 0.8 * RAM-per-container

    819

    mapred-site.xml

    mapreduce.reduce.java.opts

    = 0.8 * 2 * RAM-per-container

    1638

    yarn-site.xml (check)

    yarn.app.mapreduce.am.resource.mb

    = 2 * RAM-per-container

    2048

    yarn-site.xml (check)

    yarn.app.mapreduce.am.command-opts

    = 0.8 * 2 * RAM-per-container

    1638

    tez-site.xml 

    tez.am.resource.memory.mb 

    = RAM-per-container

    1024

    tez-site.xml 

    tez.am.java.opts 

    = 0.8 * RAM-per-container

    819

    tez-site.xml 

    hive.tez.container.size 

    = RAM-per-container

    1024

    tez-site.xml 

    hive.tez.java.opts 

    = 0.8 * RAM-per-container

    819

  • 相关阅读:
    29-赫夫曼树
    28-线索化二叉树
    27-顺序存储二叉树
    26-二叉树的遍历查找和删除
    25-二叉树的概念
    24-逻辑结构分析
    23-哈希表
    22-查找算法
    21-堆排序
    Mui-列表/table-view
  • 原文地址:https://www.cnblogs.com/wcwen1990/p/7601287.html
Copyright © 2011-2022 走看看