• yarn


    fair-scheduler.xml

    <?xml version="1.0"?>
    <allocations>
      
      <userMaxAppsDefault>20</userMaxAppsDefault>
      <queueMaxAMShareDefault>0.6</queueMaxAMShareDefault>
    
      <queue name="default">
        <minResources>512 mb,0vcores</minResources>
        <maxResources>40960 mb,12vcores</maxResources>
        <schedulingPolicy>fair</schedulingPolicy>
        <maxRunningApps>6</maxRunningApps>
        <maxAMShare>0.5</maxAMShare>
        <weight>1.0</weight>
      </queue>
    
      <queue name="hive_job">
         <minResources>512 mb, 0 vcores</minResources>
         <maxResources>40960 mb, 14 vcores</maxResources>
         <schedulingPolicy>fifo</schedulingPolicy>
         <maxRunningApps>5</maxRunningApps>
         <maxAMShare>0.8</maxAMShare>
         <weight>3.0</weight>
      </queue>
    
      <queue name="real_time_1">
         <minResources>2048 mb, 2 vcores</minResources>
         <maxResources>3072 mb, 2 vcores</maxResources>
         <schedulingPolicy>fifo</schedulingPolicy>
         <maxAMShare>1.0</maxAMShare>
         <weight>5.0</weight>
      </queue>
    
      <queuePlacementPolicy>
        <rule name="specified" />
        <rule name="default" />
      </queuePlacementPolicy>
    </allocations>
    
  • 相关阅读:
    C/C++筛选法算素数
    JAVAFX-5事件总结
    JAVAFX-5 开发应用
    JAVAFX-4 开发应用
    JAVAFX-3 开发应用
    JAVAFX-1 开发应用
    JAVAFX-2 开发应用
    Swing 100行画图示例
    Java的Json解析包FastJson使用
    杨辉三角
  • 原文地址:https://www.cnblogs.com/dzhs/p/15607446.html
Copyright © 2020-2023  润新知