Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8143

Improve log message when Capacity Scheduler request allocation on node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • yarn
    • None

    Description

      When scheduler request allocates container on the node with reserved containers on it, this log message will print very frequently which needs to be improved with more condition checks.

      2018-02-02 11:41:13,105 INFO  capacity.CapacityScheduler (CapacityScheduler.java:tryCommit(2673)) - Allocation proposal accepted
      2018-02-02 11:41:13,115 INFO  capacity.CapacityScheduler (CapacityScheduler.java:allocateContainerOnSingleNode(1391)) - Trying to fulfill reservation for application application_1517571510094_0003 on node: ctr-e137-1514896590304-52728-01-000007.hwx.site:25454
      2018-02-02 11:41:13,115 INFO  allocator.AbstractContainerAllocator (AbstractContainerAllocator.java:getCSAssignmentFromAllocateResult(97)) - Reserved container  application=application_1517571510094_0003 resource=<memory:3072, vCores:1> queue=org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator@3f04848e cluster=<memory:18000, vCores:3>
      

       

       

      Attachments

        Activity

          People

            Zian Chen Zian Chen
            Zian Chen Zian Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: