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

ContainerAllocator re-creates RMContainer instance when allocate for ReservedContainer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The ContainerAllocator re-creates the RMContainer instance when it is allocated to the ReservedContainer. This will cause the RMContainer to lose information from NEW to RESERVED.

      RM Log

      2019-08-28 18:42:30,320 [10645451] - INFO [SchedulerEventDispatcher:Event Processor:RMContainerImpl@486] - container_e47_1566978597856_2831_01_000007 Container Transitioned from NEW to RESERVED
      2019-08-28 18:42:38,055 [10653186] - INFO [SchedulerEventDispatcher:Event Processor:AbstractContainerAllocator@126] - assignedContainer application attempt=appattempt_1566978597856_2831_000001 container=container_e47_1566978597856_2831_01_000007 queue=org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.RegularContainerAllocator@69f543b5 clusterResource=<memory:229806080, vCores:42240> type=NODE_LOCAL requestedPartition=label_ndir_2
      2019-08-28 18:42:38,055 [10653186] - INFO [SchedulerEventDispatcher:Event Processor:RMContainerImpl@486] - container_e47_1566978597856_2831_01_000007 Container Transitioned from NEW to ALLOCATED

       

      Attachments

        1. YARN-9807.branch-2.01.patch
          5 kB
          Yicong Cai
        2. YARN-9807.01.patch
          5 kB
          Yicong Cai

        Activity

          People

            caiyicong Yicong Cai
            caiyicong Yicong Cai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: