Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6529

AppMaster will not retry to request resource if AppMaster happens to decide to not use the resource

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: mr-am
    • Labels:
      None

      Description

      I am viewing code in RMContainerAllocator.java. I want to do some improvement so that the AppMaster could give up some containers that may not be optimal when it receives new assigned containers. But I found that if AppMaster give up the containers, it will not retry to request the resource again.

      int RMContainerRequestor.java, Set<ResourceRequest> ask is used to ask resource from ResourceManager. I found each container could only be requested once. It mean ask can be filled by addResourceRequestToAsk(ResourceRequest remoteRequest[]), but it can only added for once for each container. If we give up one assigned container, It will never request again

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cxcw Wei Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: