爆款云主机2核4G限时秒杀,88元/年起!
查看详情

活动

天翼云最新优惠活动,涵盖免费试用,产品折扣等,助您降本增效!
热门活动
  • 618智算钜惠季 爆款云主机2核4G限时秒杀,88元/年起!
  • 免费体验DeepSeek,上天翼云息壤 NEW 新老用户均可免费体验2500万Tokens,限时两周
  • 云上钜惠 HOT 爆款云主机全场特惠,更有万元锦鲤券等你来领!
  • 算力套餐 HOT 让算力触手可及
  • 天翼云脑AOne NEW 连接、保护、办公,All-in-One!
  • 中小企业应用上云专场 产品组合下单即享折上9折起,助力企业快速上云
  • 息壤高校钜惠活动 NEW 天翼云息壤杯高校AI大赛,数款产品享受线上订购超值特惠
  • 天翼云电脑专场 HOT 移动办公新选择,爆款4核8G畅享1年3.5折起,快来抢购!
  • 天翼云奖励推广计划 加入成为云推官,推荐新用户注册下单得现金奖励
免费活动
  • 免费试用中心 HOT 多款云产品免费试用,快来开启云上之旅
  • 天翼云用户体验官 NEW 您的洞察,重塑科技边界

智算服务

打造统一的产品能力,实现算网调度、训练推理、技术架构、资源管理一体化智算服务
智算云(DeepSeek专区)
科研助手
  • 算力商城
  • 应用商城
  • 开发机
  • 并行计算
算力互联调度平台
  • 应用市场
  • 算力市场
  • 算力调度推荐
一站式智算服务平台
  • 模型广场
  • 体验中心
  • 服务接入
智算一体机
  • 智算一体机
大模型
  • DeepSeek-R1-昇腾版(671B)
  • DeepSeek-R1-英伟达版(671B)
  • DeepSeek-V3-昇腾版(671B)
  • DeepSeek-R1-Distill-Llama-70B
  • DeepSeek-R1-Distill-Qwen-32B
  • Qwen2-72B-Instruct
  • StableDiffusion-V2.1
  • TeleChat-12B

应用商城

天翼云精选行业优秀合作伙伴及千余款商品,提供一站式云上应用服务
进入甄选商城进入云市场创新解决方案
办公协同
  • WPS云文档
  • 安全邮箱
  • EMM手机管家
  • 智能商业平台
财务管理
  • 工资条
  • 税务风控云
企业应用
  • 翼信息化运维服务
  • 翼视频云归档解决方案
工业能源
  • 智慧工厂_生产流程管理解决方案
  • 智慧工地
建站工具
  • SSL证书
  • 新域名服务
网络工具
  • 翼云加速
灾备迁移
  • 云管家2.0
  • 翼备份
资源管理
  • 全栈混合云敏捷版(软件)
  • 全栈混合云敏捷版(一体机)
行业应用
  • 翼电子教室
  • 翼智慧显示一体化解决方案

合作伙伴

天翼云携手合作伙伴,共创云上生态,合作共赢
天翼云生态合作中心
  • 天翼云生态合作中心
天翼云渠道合作伙伴
  • 天翼云代理渠道合作伙伴
天翼云服务合作伙伴
  • 天翼云集成商交付能力认证
天翼云应用合作伙伴
  • 天翼云云市场合作伙伴
  • 天翼云甄选商城合作伙伴
天翼云技术合作伙伴
  • 天翼云OpenAPI中心
  • 天翼云EasyCoding平台
天翼云培训认证
  • 天翼云学堂
  • 天翼云市场商学院
天翼云合作计划
  • 云汇计划
天翼云东升计划
  • 适配中心
  • 东升计划
  • 适配互认证

开发者

开发者相关功能入口汇聚
技术社区
  • 专栏文章
  • 互动问答
  • 技术视频
资源与工具
  • OpenAPI中心
开放能力
  • EasyCoding敏捷开发平台
培训与认证
  • 天翼云学堂
  • 天翼云认证
魔乐社区
  • 魔乐社区

支持与服务

为您提供全方位支持与服务,全流程技术保障,助您轻松上云,安全无忧
文档与工具
  • 文档中心
  • 新手上云
  • 自助服务
  • OpenAPI中心
定价
  • 价格计算器
  • 定价策略
基础服务
  • 售前咨询
  • 在线支持
  • 在线支持
  • 工单服务
  • 建议与反馈
  • 用户体验官
  • 服务保障
  • 客户公告
  • 会员中心
增值服务
  • 红心服务
  • 首保服务
  • 客户支持计划
  • 专家技术服务
  • 备案管家

了解天翼云

天翼云秉承央企使命,致力于成为数字经济主力军,投身科技强国伟大事业,为用户提供安全、普惠云服务
品牌介绍
  • 关于天翼云
  • 智算云
  • 天翼云4.0
  • 新闻资讯
  • 天翼云APP
基础设施
  • 全球基础设施
  • 信任中心
最佳实践
  • 精选案例
  • 超级探访
  • 云杂志
  • 分析师和白皮书
  • 天翼云·创新直播间
市场活动
  • 2025智能云生态大会
  • 2024智算云生态大会
  • 2023云生态大会
  • 2022云生态大会
  • 天翼云中国行
天翼云
  • 活动
  • 智算服务
  • 产品
  • 解决方案
  • 应用商城
  • 合作伙伴
  • 开发者
  • 支持与服务
  • 了解天翼云
      • 文档
      • 控制中心
      • 备案
      • 管理中心

      【运维与配置】Hadoop(3.3.1): Capacity Scheduler:通过设置资源队列来满足不同业务之间的资源隔离、队列的弹性以及队列权限

      首页 知识中心 服务器 文章详情页

      【运维与配置】Hadoop(3.3.1): Capacity Scheduler:通过设置资源队列来满足不同业务之间的资源隔离、队列的弹性以及队列权限

      2025-03-12 09:31:01 阅读次数:8

      权限,设置,队列

      通过设置yarn的资源队列,可以实现不同业务的资源隔离,同时设置队列的弹性范围,以便在某个队列资源紧张时,可以使用其他队列的资源。

      一. 先看下官网(可略)

      1. Overview

      我们先对容量调度器有一个认识:即它适合多租户的业务场景,简单的说可以规划不同的业务使用不同的队列资源。

      The CapacityScheduler is designed to run Hadoop applications as a shared, multi-tenant cluster in an operator-friendly manner while maximizing the throughput and the utilization of the cluster.

      2. Configuration

      2.1. Setting up ResourceManager to use CapacityScheduler

      在yarn-site.xml文件中设置:

      Property Value
      yarn.resourcemanager.scheduler.class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
      2.2. Setting capacity-scheduler.xml

      etc/hadoop/capacity-scheduler.xml is the configuration file for the CapacityScheduler.

      设置:capacity-scheduler.xml

      1. setting up Queue

      我们接下来设置的所有队列都属于root队列的子集。通过逗号分隔来设置一个队列下的子队列。

      The CapacityScheduler has a predefined queue called root. All queues in the system are children of the root queue.

      Further queues can be setup by configuring yarn.scheduler.capacity.root.queues with a list of comma-separated child queues.

      queue-path的概念:通过queue path可以制定一个队列,一个完整的queue path:从root开头, . 来说明队列继承关系。

      yarn.scheduler.capacity..queues
      The configuration for CapacityScheduler uses a concept called queue path to configure the hierarchy of queues. The queue path is the full path of the queue’s hierarchy, starting at root, with . (dot) as the delimiter.

      如下:

      <property>
        <name>yarn.scheduler.capacity.root.queues</name>
        <value>a,b,c</value>
        <description>The queues at the this level (root is the root queue).
        </description>
      </property>
      
      <property>
        <name>yarn.scheduler.capacity.root.a.queues</name>
        <value>a1,a2</value>
        <description>The queues at the this level (root is the root queue).
        </description>
      </property>
      
      <property>
        <name>yarn.scheduler.capacity.root.b.queues</name>
        <value>b1,b2,b3</value>
        <description>The queues at the this level (root is the root queue).
        </description>
      </property>
      

      2. Queue Properties

      	Resource Allocation
      	Resource Allocation using Absolute Resources configuration
      	Running and Pending Application Limits
      	Queue Administration & Permissions
      	Queue Mapping based on User or Group, Application Name or user defined placement rules
      	Queue lifetime for applications
      

      3. application priority
      Application priority works only along with FIFO ordering policy. Default ordering policy is FIFO.

      4. Capacity Scheduler container preemption
      Capacity Scheduler 允许 container 分配多于其所在的队列资源

      5. Reservation Properties

      6. Configuring ReservationSystem with CapacityScheduler

      7. Dynamic Auto-Creation and Management of Leaf Queues
      CapacityScheduler支持通过queue mapping自动创建父队列下的子队列。

      8. Other Properties

       

      3. Changing Queue Configuration

      This behavior can be changed via yarn.scheduler.configuration.store.class in yarn-site.xml. Possible values are file, which allows modifying properties via file; memory, which allows modifying properties via API, but does not persist changes across restart; leveldb, which allows modifying properties via API and stores changes in leveldb backing store; and zk, which allows modifying properties via API and stores changes in zookeeper backing store. The default value is file.

      两种方式去设置队列,通过API或者文件,鉴于重启会导致API修改的队列配置失效(但可以通过zk持久化),本文通过文件来配置队列

      1. 编辑capacity-scheduler.xml 和 yarn-site.xml
      2. 执行yarn rmadmin -refreshQueues 可以使得队列配置生效。

      4. Updating a Container (Experimental - API may change in the future)

      期待一下

       
       

      二. 动手设置队列

      1. 设置容量调度器

      修改 yarn-site.xml

      <!-- 使用容量调度器 -->
      <property>
        <name>yarn.resourcemanager.scheduler.class</name>
        <value>org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler</value>
      </property>
      

       

      2. 设置capacity-scheduler.xml

      2.1. 设置队列资源
      1. 设置子队列:可以将整体资源分配成三个队列,default、online、offline,
      2. 设置队列资源:比如分别占用20%、30%、50%的资源。总量(必须是)100%。
      3. 设置弹性队列:例如 online队列默认分配30%,最大为50%的集群资源,当其他队列资源空闲时可以使用集群中资源的50%。

      【运维与配置】Hadoop(3.3.1): Capacity Scheduler:通过设置资源队列来满足不同业务之间的资源隔离、队列的弹性以及队列权限

      [root@bigdata01 hadoop]# vi capacity-scheduler.xml
        <property>
          <name>yarn.scheduler.capacity.root.queues</name>
          <value>default,test,test1</value>
          <description>队列列表,多个队列之间使用逗号分割</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.default.capacity</name>
          <value>20</value>
          <description>default队列20%</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.online.capacity</name>
          <value>30</value>
          <description>online队列30%</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.offline.capacity</name>
          <value>50</value>
          <description>offline队列50%</description>
        </property>
        <!-- 设置弹性队列 资源上xian--->
        <property>
          <name>yarn.scheduler.capacity.root.default.maximum-capacity</name>
          <value>40</value>
          <description>Default队列可使用的资源上限.</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.online.maximum-capacity</name>
          <value>50</value>
          <description>online队列可使用的资源上限.</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.offline.maximum-capacity</name>
          <value>60</value>
          <description>offline队列可使用的资源上限.</description>
        </property>
      
      

       

      2.2. 统一权限控制

      队列分配资源后,对权限有严格的控制,队列只允许有权限用户的提交任务和管理任务.
      权限控制分 提交权限和控制权限:

      • 提交权限:拥有权限才能提交任务到该队列中;
      • 控制权限:拥有权限才能kill 任务;

      提交权限

       <!--  配置三个队列-->
         <property>
              <name>yarn.scheduler.capacity.root.queues</name>
              <value>default,online,offline</value>
              <!-- 3个队列-->
              <description>The queues at the this level (root is the root queue).</description>
          </property>
      
        <property>
            <name>yarn.scheduler.capacity.root.acl_submit_applications</name>
            <value> </value> #空格表示任何人都无法往root队列提交作业
        </property>
       #queue-name=root.default
       <property>
         <name>yarn.scheduler.capacity.root.default.acl_submit_applications</name>
            <value>test,b1</value> #testqueue只允许test用户和b1用户提交作业
        </property>
         <property>
         <name>yarn.scheduler.capacity.root.online.acl_submit_applications</name>
            <value>test</value> #online只允许test用户提交作业
        </property>
         <property>
         <name>yarn.scheduler.capacity.root.offlinea.acl_submit_applications</name>
            <value>b1</value> #offline只允许b1用户提交作业
        </property>
      

      控制权限:

      #queue-name=root
        <property>
            <name>yarn.scheduler.capacity.root.acl_administer_queue</name>
            <value> </value> <!-- ACL继承性,父队列需控制权限-->
        </property>
       #queue-name=root.default
       <property>
         <name>yarn.scheduler.capacity.root.default.acl_administer_queue</name>
            <value>test,a1</value> #default队列的任务只允许test用户和a1用户停止
        </property> 
      

       

      3. 执行生效

      `yarn rmadmin -refreshQueues` 
      

       

      完整配置示例

      <!--
        Licensed under the Apache License, Version 2.0 (the "License");
        you may not use this file except in compliance with the License.
        You may obtain a copy of the License at
      
          http:///licenses/LICENSE-2.0
      
        Unless required by applicable law or agreed to in writing, software
        distributed under the License is distributed on an "AS IS" BASIS,
        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions and
        limitations under the License. See accompanying LICENSE file.
      -->
      <configuration>
      
        <property>
          <name>yarn.scheduler.capacity.maximum-applications</name>
          <value>10000</value>
          <description>
            Maximum number of applications that can be pending and running.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.maximum-am-resource-percent</name>
          <value>0.1</value>
          <description>
            Maximum percent of resources in the cluster which can be used to run 
            application masters i.e. controls number of concurrent running
            applications.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.resource-calculator</name>
          <value>org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator</value>
          <description>
            The ResourceCalculator implementation to be used to compare 
            Resources in the scheduler.
            The default i.e. DefaultResourceCalculator only uses Memory while
            DominantResourceCalculator uses dominant-resource to compare 
            multi-dimensional resources such as Memory, CPU etc.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.root.queues</name>
          <value>default,test1,test2</value>
          <description>
            The queues at the this level (root is the root queue).
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.root.default.capacity</name>
          <value>30</value>
          <description>Default queue target capacity.</description>
        </property>
      <property>
          <name>yarn.scheduler.capacity.root.test1.capacity</name>
          <value>30</value>
          <description>test1 queue target capacity.</description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.test2.capacity</name>
          <value>40</value>
          <description>test1 queue target capacity.</description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.default.user-limit-factor</name>
          <value>1</value>
          <description>
            Default queue user limit a percentage from 0.0 to 1.0.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test1.user-limit-factor</name>
          <value>1</value>
          <description>
            Default queue user limit a percentage from 0.0 to 1.0.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test2.user-limit-factor</name>
          <value>1</value>
          <description>
            Default queue user limit a percentage from 0.0 to 1.0.
          </description>
        </property>
        
      
        <property>
          <name>yarn.scheduler.capacity.root.default.maximum-capacity</name>
          <value>70</value>
          <description>
            The maximum capacity of the default queue. 
          </description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.test1.maximum-capacity</name>
          <value>70</value>
          <description>
            The maximum capacity of the default queue. 
          </description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.test2.maximum-capacity</name>
          <value>70</value>
          <description>
            The maximum capacity of the default queue. 
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.root.default.state</name>
          <value>RUNNING</value>
          <description>
            The state of the default queue. State can be one of RUNNING or STOPPED.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test1.state</name>
          <value>RUNNING</value>
          <description>
            The state of the default queue. State can be one of RUNNING or STOPPED.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test2.state</name>
          <value>RUNNING</value>
          <description>
            The state of the default queue. State can be one of RUNNING or STOPPED.
          </description>
        </property>
      <!---->
        <property>
          <name>yarn.scheduler.capacity.root.default.acl_submit_applications</name>
          <value>*</value>
          <description>
            The ACL of who can submit jobs to the default queue.
          </description>
        </property>
         <property>
          <name>yarn.scheduler.capacity.root.test1.acl_submit_applications</name>
          <value>*</value>
          <description>
            The ACL of who can submit jobs to the default queue.
          </description>
        </property>
         <property>
          <name>yarn.scheduler.capacity.root.test2.acl_submit_applications</name>
          <value>*</value>
          <description>
            The ACL of who can submit jobs to the default queue.
          </description>
        </property>
        
        
        
        
      
        <property>
          <name>yarn.scheduler.capacity.root.default.acl_administer_queue</name>
          <value>*</value>
          <description>
            The ACL of who can administer jobs on the default queue.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test1.acl_administer_queue</name>
          <value>*</value>
          <description>
            The ACL of who can administer jobs on the default queue.
          </description>
        </property>
        
        <property>
          <name>yarn.scheduler.capacity.root.test2.acl_administer_queue</name>
          <value>*</value>
          <description>
            The ACL of who can administer jobs on the default queue.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.root.default.acl_application_max_priority</name>
          <value>*</value>
          <description>
            The ACL of who can submit applications with configured priority.
            For e.g, [user={name} group={name} max_priority={priority} default_priority={priority}]
          </description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.test1.acl_application_max_priority</name>
          <value>*</value>
          <description>
            The ACL of who can submit applications with configured priority.
            For e.g, [user={name} group={name} max_priority={priority} default_priority={priority}]
          </description>
        </property>
        <property>
          <name>yarn.scheduler.capacity.root.test2.acl_application_max_priority</name>
          <value>*</value>
          <description>
            The ACL of who can submit applications with configured priority.
            For e.g, [user={name} group={name} max_priority={priority} default_priority={priority}]
          </description>
        </property>
        
      
         <property>
           <name>yarn.scheduler.capacity.root.default.maximum-application-lifetime
           </name>
           <value>-1</value>
           <description>
              Maximum lifetime of an application which is submitted to a queue
              in seconds. Any value less than or equal to zero will be considered as
              disabled.
              This will be a hard time limit for all applications in this
              queue. If positive value is configured then any application submitted
              to this queue will be killed after exceeds the configured lifetime.
              User can also specify lifetime per application basis in
              application submission context. But user lifetime will be
              overridden if it exceeds queue maximum lifetime. It is point-in-time
              configuration.
              Note : Configuring too low value will result in killing application
              sooner. This feature is applicable only for leaf queue.
           </description>
         </property>
      
         <property>
           <name>yarn.scheduler.capacity.root.default.default-application-lifetime
           </name>
           <value>-1</value>
           <description>
              Default lifetime of an application which is submitted to a queue
              in seconds. Any value less than or equal to zero will be considered as
              disabled.
              If the user has not submitted application with lifetime value then this
              value will be taken. It is point-in-time configuration.
              Note : Default lifetime can't exceed maximum lifetime. This feature is
              applicable only for leaf queue.
           </description>
         </property>
      
        <property>
          <name>yarn.scheduler.capacity.node-locality-delay</name>
          <value>40</value>
          <description>
            Number of missed scheduling opportunities after which the CapacityScheduler 
            attempts to schedule rack-local containers.
            When setting this parameter, the size of the cluster should be taken into account.
            We use 40 as the default value, which is approximately the number of nodes in one rack.
            Note, if this value is -1, the locality constraint in the container request
            will be ignored, which disables the delay scheduling.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.rack-locality-additional-delay</name>
          <value>-1</value>
          <description>
            Number of additional missed scheduling opportunities over the node-locality-delay
            ones, after which the CapacityScheduler attempts to schedule off-switch containers,
            instead of rack-local ones.
            Example: with node-locality-delay=40 and rack-locality-delay=20, the scheduler will
            attempt rack-local assignments after 40 missed opportunities, and off-switch assignments
            after 40+20=60 missed opportunities.
            When setting this parameter, the size of the cluster should be taken into account.
            We use -1 as the default value, which disables this feature. In this case, the number
            of missed opportunities for assigning off-switch containers is calculated based on
            the number of containers and unique locations specified in the resource request,
            as well as the size of the cluster.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.queue-mappings</name>
          <value></value>
          <description>
            A list of mappings that will be used to assign jobs to queues
            The syntax for this list is [u|g]:[name]:[queue_name][,next mapping]*
            Typically this list will be used to map users to queues,
            for example, u:%user:%user maps all users to queues with the same name
            as the user.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.queue-mappings-override.enable</name>
          <value>false</value>
          <description>
            If a queue mapping is present, will it override the value specified
            by the user? This can be used by administrators to place jobs in queues
            that are different than the one specified by the user.
            The default is false.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.per-node-heartbeat.maximum-offswitch-assignments</name>
          <value>1</value>
          <description>
            Controls the number of OFF_SWITCH assignments allowed
            during a node's heartbeat. Increasing this value can improve
            scheduling rate for OFF_SWITCH containers. Lower values reduce
            "clumping" of applications on particular nodes. The default is 1.
            Legal values are 1-MAX_INT. This config is refreshable.
          </description>
        </property>
      
      
        <property>
          <name>yarn.scheduler.capacity.application.fail-fast</name>
          <value>false</value>
          <description>
            Whether RM should fail during recovery if previous applications'
            queue is no longer valid.
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.workflow-priority-mappings</name>
          <value></value>
          <description>
            A list of mappings that will be used to override application priority.
            The syntax for this list is
            [workflowId]:[full_queue_name]:[priority][,next mapping]*
            where an application submitted (or mapped to) queue "full_queue_name"
            and workflowId "workflowId" (as specified in application submission
            context) will be given priority "priority".
          </description>
        </property>
      
        <property>
          <name>yarn.scheduler.capacity.workflow-priority-mappings-override.enable</name>
          <value>false</value>
          <description>
            If a priority mapping is present, will it override the value specified
            by the user? This can be used by administrators to give applications a
            priority that is different than the one specified by the user.
            The default is false.
          </description>
        </property>
      
      </configuration>
      
      
      版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.csdn.net/hiliang521/article/details/126501634,作者:roman_日积跬步-终至千里,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。

      上一篇:【排错/运维】修复HDFS丢失、损坏以及副本数的问题

      下一篇:MySQL之高级命令使用介绍

      相关文章

      2025-05-16 09:15:17

      BFS解决拓扑排序(1)_课程表

      BFS解决拓扑排序(1)_课程表

      2025-05-16 09:15:17
      lt , 课程 , 队列
      2025-05-16 09:15:17

      Linux系统基础-多线程超详细讲解(5)_单例模式与线程池

      Linux系统基础-多线程超详细讲解(5)_单例模式与线程池

      2025-05-16 09:15:17
      单例 , 线程 , 队列
      2025-05-14 10:33:16

      30天拿下Python之文件操作

      Python是一种高级编程语言,它提供了许多内置函数和模块来处理文件操作,主要包括:打开文件、读取文件、写入文件、关闭文件、获取目录列表等。

      2025-05-14 10:33:16
      Python , 使用 , 函数 , 文件 , 权限 , 目录
      2025-05-14 10:03:13

      数据结构-队列

      队列是仅限在一端进行插入,另一端进行删除的线性表。

      2025-05-14 10:03:13
      元素 , 入队 , 出队 , 链表 , 队列
      2025-05-14 10:03:13

      AJAX-事件循环(超详细过程)

      JS有一个基于事件循环的并发模型,事件循环负责执行代码、收集和处理事件以及执行队列中的子任务。

      2025-05-14 10:03:13
      代码 , 任务 , 出栈 , 异步 , 执行 , 调用 , 队列
      2025-05-14 10:03:05

      Oracle数据库用户权限分析

      Oracle数据库用户权限分析

      2025-05-14 10:03:05
      Oracle , 分析 , 数据库 , 权限 , 用户
      2025-05-14 10:02:48

      SQL Server 账号管理1

      SQL Server 账号管理主要包含登录名、用户、架构、角色等管理。通过对账号的管理可以有效的提高数据库系统的安全性,规范运维及使用。

      2025-05-14 10:02:48
      Server , SQL , 对象 , 数据库 , 权限 , 用户
      2025-05-14 09:51:15

      java怎么对线程池做监控

      对Java线程池进行监控是确保系统性能和稳定性的重要部分。监控线程池可以帮助我们了解线程池的状态,如当前活跃线程数、任务队列长度、已完成任务数等。

      2025-05-14 09:51:15
      Java , 方法 , 监控 , 示例 , 线程 , 队列
      2025-05-13 09:50:48

      oracle表字段设置为unused的相关知识

      oracle表字段设置为unused的相关知识

      2025-05-13 09:50:48
      oracle , 知识 , 设置
      2025-05-13 09:50:28

      分隔链表-146. LRU 缓存

      给你一个链表的头节点 head 和一个特定值 x ,请你对链表进行分隔,使得所有 小于 x 的节点都出现在 大于或等于 x 的节点之前。

      2025-05-13 09:50:28
      int , key , LinkedHashMap , 缓存 , 节点 , 链表
      查看更多
      推荐标签

      作者介绍

      天翼云小翼
      天翼云用户

      文章

      33561

      阅读量

      5231512

      查看更多

      最新文章

      【Hive】使用Ambari修改 默认队列

      2025-04-23 08:18:38

      创建prometheus的statsfulset配置

      2025-04-16 09:26:39

      Centos7下 vim乱码问题永久解决办法

      2025-03-17 08:27:30

      【linux常用操作一】文件管理、文本处理

      2025-03-12 09:31:44

      【运维与安装】hadoop 3.3.1 高可用 + simple认证 +队列设置

      2025-03-12 09:31:27

      linux系统设置root初始化密码

      2025-03-12 09:31:27

      查看更多

      热门文章

      Linux 文件权限

      2023-07-24 09:43:13

      操作系统权限提升之Linux提权-计划任务提权

      2023-08-03 06:04:52

      操作系统权限维持之Linux系统-定时任务后门

      2023-08-03 06:04:52

      Linux 系统的安全加固

      2024-09-25 10:13:57

      windows系统以管理员权限运行powershell脚本方法

      2024-04-26 08:03:54

      Windows Server服务器重置RDS宽限期

      2024-04-26 07:54:33

      查看更多

      热门标签

      服务器 linux 虚拟机 Linux 数据库 运维 网络 日志 数据恢复 java python 配置 nginx centos mysql
      查看更多

      相关产品

      弹性云主机

      随时自助获取、弹性伸缩的云服务器资源

      天翼云电脑(公众版)

      便捷、安全、高效的云电脑服务

      对象存储

      高品质、低成本的云上存储服务

      云硬盘

      为云上计算资源提供持久性块存储

      查看更多

      随机文章

      Linux 文件权限

      操作系统权限提升之Linux提权-计划任务提权

      【Hive基础】hive常见操作速查

      Windows Sever 文件服务器概述

      【linux常用操作一】文件管理、文本处理

      【基础理论】hadoop基础(二):Yarn系统性介绍:Yarn的基础架构、工作机制、作业提交过程、调度器等

      • 7*24小时售后
      • 无忧退款
      • 免费备案
      • 专家服务
      售前咨询热线
      400-810-9889转1
      关注天翼云
      • 旗舰店
      • 天翼云APP
      • 天翼云微信公众号
      服务与支持
      • 备案中心
      • 售前咨询
      • 智能客服
      • 自助服务
      • 工单管理
      • 客户公告
      • 涉诈举报
      账户管理
      • 管理中心
      • 订单管理
      • 余额管理
      • 发票管理
      • 充值汇款
      • 续费管理
      快速入口
      • 天翼云旗舰店
      • 文档中心
      • 最新活动
      • 免费试用
      • 信任中心
      • 天翼云学堂
      云网生态
      • 甄选商城
      • 渠道合作
      • 云市场合作
      了解天翼云
      • 关于天翼云
      • 天翼云APP
      • 服务案例
      • 新闻资讯
      • 联系我们
      热门产品
      • 云电脑
      • 弹性云主机
      • 云电脑政企版
      • 天翼云手机
      • 云数据库
      • 对象存储
      • 云硬盘
      • Web应用防火墙
      • 服务器安全卫士
      • CDN加速
      热门推荐
      • 云服务备份
      • 边缘安全加速平台
      • 全站加速
      • 安全加速
      • 云服务器
      • 云主机
      • 智能边缘云
      • 应用编排服务
      • 微服务引擎
      • 共享流量包
      更多推荐
      • web应用防火墙
      • 密钥管理
      • 等保咨询
      • 安全专区
      • 应用运维管理
      • 云日志服务
      • 文档数据库服务
      • 云搜索服务
      • 数据湖探索
      • 数据仓库服务
      友情链接
      • 中国电信集团
      • 189邮箱
      • 天翼企业云盘
      • 天翼云盘
      ©2025 天翼云科技有限公司版权所有 增值电信业务经营许可证A2.B1.B2-20090001
      公司地址:北京市东城区青龙胡同甲1号、3号2幢2层205-32室
      • 用户协议
      • 隐私政策
      • 个人信息保护
      • 法律声明
      备案 京公网安备11010802043424号 京ICP备 2021034386号